-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
45 lines (42 loc) · 1.52 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
from setuptools import setup
# Used in pypi.org as the README description of your package
with open("README.md", 'r') as f:
long_description = f.read()
# Remove this whole block from here...
setup(
name='python-sample-app',
version='1.0',
description='python-sample-app is a starter template for new python applications',
author='Benjamin Costa',
author_email='[email protected]',
license="MIT",
url="https://github.com/becosta/python-sample-app",
packages=['python_sample_app'],
entry_points={
'console_scripts': [
'sample-app=python_sample_app.main:main',
],
},
long_description=long_description
)
exit(0)
# ...to here. Then edit the following block to match your project needs
setup(
name='<your_project>',
version='<your_project_version>',
description='<your_project_description>',
author='<your_name>',
author_email='<[email protected]>',
license="<your_project_license>",
url="<your_project_url>",
packages=['<your_project_main_package>'],
#scripts=['scripts/some_script.py'],
#python_requires='>=3',
entry_points={
'console_scripts': [
'<your_command>=<your_project_main_package>.main:main',
],
},
#install_requires=['foo', 'bar'], # Install External packages 'foo' and 'bar' as dependencies
long_description=long_description
)