forked from jesseflorig/npm-jesseflorig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (24 loc) · 800 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from setuptools import setup, find_packages
from json import loads as parseJSON
with open("README.md", "r") as fh:
long_description = fh.read()
with open('package.json') as raw:
manifest = parseJSON(raw.read())
with open('info.json', 'r') as text:
info = parseJSON(text.read())
setup(
name=manifest['name'],
version=manifest['version'],
author=manifest['author'],
author_email=info['email'],
description=manifest['description'],
long_description=long_description,
long_description_content_type="text/markdown",
url=manifest['repository']['url'],
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
]
)