-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
62 lines (51 loc) · 1.79 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
62
from setuptools import (
find_packages,
setup,
)
import os
import sys
PACKAGE_DIRECTORY = 'lib'
sys.path.append(PACKAGE_DIRECTORY)
import gitem
requirements_filename = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'requirements.txt')
with open(requirements_filename) as fd:
install_requires = [i.strip() for i in fd.readlines()]
requirements_dev_filename = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'requirements-dev.txt')
with open(requirements_dev_filename) as fd:
tests_require = [i.strip() for i in fd.readlines()]
long_description_filename = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'README.md')
with open(long_description_filename) as fd:
long_description = fd.read()
setup(
name=gitem.__name__,
version=gitem.__version__,
description='A Github organization reconnaissance tool.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/mschwager/gitem',
packages=find_packages(where=PACKAGE_DIRECTORY),
package_dir={'': PACKAGE_DIRECTORY},
license='GPLv3',
classifiers=[
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
install_requires=install_requires,
tests_require=tests_require,
entry_points={
'console_scripts': [
'gitem = gitem.__main__:main',
],
},
)