-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (33 loc) · 1.28 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
import setuptools
import iscan
with open('README.md', 'r') as f:
LONG_DESCRIPTION = f.read()
EXTRAS_REQUIRE = {
'build': ['setuptools', 'twine', 'wheel'],
'qa': ['flake8', 'isort', 'pre-commit'],
'test': ['coverage', 'mypy', 'pytest'],
'util': ['beautifulsoup4', 'requests'] # To scrape standard library modules
}
EXTRAS_REQUIRE['dev'] = EXTRAS_REQUIRE['build'] + EXTRAS_REQUIRE['qa'] + EXTRAS_REQUIRE['test'] + EXTRAS_REQUIRE['util']
setuptools.setup(
name='iscan',
version=iscan.__version__,
url='https://github.com/zzhengnan/iscan',
author='Zhengnan Zhao',
description="iscan helps you identify your project's dependencies.",
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
packages=setuptools.find_packages(),
entry_points={'console_scripts': ['iscan=iscan.scan:main']},
python_requires='>=3.8',
extras_require=EXTRAS_REQUIRE,
classifiers=[
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
]
)