-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (29 loc) · 1.16 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
from setuptools import find_packages, setup
with open("README.md","r") as readme_file:
long_description = readme_file.read()
#Maybe not the best way to handle the version number, but it works fine
exec(open("python_console_package/__init__.py").read())
setup(
name='python_console_package',
version = __version__,
include_package_data = True,
python_requires = '>=3',
description = 'A small template for building and distibuting python console applications',
long_description = long_description,
long_description_content_type = "text/markdown",
author = "Markus Peitl",
author_email = 'office@markuspeitl.com',
url = 'https://github.com/MarkusPeitl/python-console-template',
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Topic :: Software Development :: Documentation"
],
install_requires=["argparse"],
entry_points = {
'console_scripts':['python_console_package = python_console_package.entrypoint:main']
},
packages = find_packages()
)