forked from suqingdong/nsfc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (37 loc) · 1.45 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
import os
import json
import codecs
from setuptools import setup, find_packages
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
version_info = json.load(codecs.open(os.path.join(BASE_DIR, 'nsfc', 'version', 'version.json'), encoding='utf-8'))
setup(
name=version_info['prog'],
version=version_info['version'],
author=version_info['author'],
author_email=version_info['author_email'],
description=version_info['desc'],
long_description=codecs.open(os.path.join(BASE_DIR, 'README.md'), encoding='utf-8').read(),
long_description_content_type="text/markdown",
url='https://github.com/suqingdong/nsfc',
project_urls={
'Documentation': 'https://nsfc.readthedocs.io',
'Tracker': 'https://github.com/suqingdong/nsfc/issues',
},
license='BSD License',
install_requires=codecs.open(os.path.join(BASE_DIR, 'requirements.txt'), encoding='utf-8').read().split('\n'),
packages=find_packages(),
include_package_data=True,
entry_points={'console_scripts': [
'nsfc = nsfc.bin.main:main',
]},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Libraries'
]
)