forked from rogervila/equipment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (43 loc) · 1.74 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
import sys
from setuptools import setup
install_requires = []
with open('equipment/console/requirements.txt', 'r', encoding='utf-8') as f:
install_requires.extend(f.read().splitlines())
with open('equipment/framework/requirements.txt', 'r', encoding='utf-8') as f:
install_requires.extend(f.read().splitlines())
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='equipment',
packages=['equipment'],
version='CURRENT_VERSION',
license='MIT',
description='The root of your next python project',
long_description=long_description,
long_description_content_type='text/markdown',
author='Roger Vilà',
author_email='[email protected]',
url='https://github.com/rogervila/equipment',
download_url='https://github.com/rogervila/equipment/archive/CURRENT_VERSION.tar.gz',
keywords=['equipment', 'application scaffolding', 'framework'],
install_requires=install_requires,
tests_require=['coverage', 'runtype'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.8',
],
include_package_data=True,
entry_points={
# Install a script as "equipment", and as "equipment3", and as "equipment3.x"
'console_scripts': [
#pylint: disable=consider-using-f-string
'equipment = equipment.console:main',
'equipment%d = equipment.console:main' % sys.version_info[:1],
'equipment%d.%d = equipment.console:main' % sys.version_info[:2],
#pylint: enable=consider-using-f-string
],
},
)