-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
61 lines (46 loc) · 1.05 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from setuptools import setup, find_packages
from my_pip_package import __version__
extra_math = [
'returns-decorator',
]
extra_bin = [
*extra_math,
]
extra_test = [
*extra_math,
'pytest>=4',
'pytest-cov>=2',
]
extra_dev = [
*extra_test,
]
extra_ci = [
*extra_test,
'python-coveralls',
]
setup(
name='my_pip_package',
version=__version__,
description='A tutorial for creating pip packages.',
url='https://github.com/MichaelKim0407/tutorial-pip-package',
author='Michael Kim',
author_email='[email protected]',
packages=find_packages(exclude=['tests', 'tests.*']),
extras_require={
'math': extra_math,
'bin': extra_bin,
'test': extra_test,
'dev': extra_dev,
'ci': extra_ci,
},
entry_points={
'console_scripts': [
'add=my_pip_package.math:cmd_add',
],
},
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
)