-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·54 lines (47 loc) · 1.94 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
import os
import codecs
from os import path
from setuptools import setup
from setuptools import find_packages
from pip._internal.req import parse_requirements
here = path.abspath(path.dirname(__file__))
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allowes setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# parse_requirements() returns generator of pip.req.InstallRequirement objects
INSTALL_REQS = parse_requirements('requirements.txt', session='hack')
# reqs is a list of requirements
REQUIREMENTS = [str(ir.req) for ir in INSTALL_REQS]
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: Portuguese",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
]
setup( # pragma: no cover
name='ezissue',
description="The ultimate aid in the issue creation process.", # nopep8
url='https://github.com/andre-filho/ezissue',
long_description=codecs.open('README.md', 'rb', 'utf8').read(),
long_description_content_type='text/markdown',
author='Andre de Sousa Costa Filho',
author_email='[email protected]',
version=codecs.open('VERSION.txt', 'rb', 'utf8').read(),
packages=find_packages(),
keywords=['ezissue', 'issue', 'markdown', 'api', 'github', 'gitlab', 'markdown converter'],
entry_points={
'console_scripts': [
'ezissue = ezissue.ezissue:main'
]
},
install_requires=REQUIREMENTS,
license='GNU',
classifiers=CLASSIFIERS,
)