-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (63 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
55
56
57
58
59
60
61
62
63
64
65
66
import re
from os import path
from setuptools import setup
version_py = open('github_api/cli/__init__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", version_py))
cur_dir = path.abspath(path.dirname(__file__))
with open(path.join(cur_dir, 'README.md')) as f:
long_description = f.read()
setup(
name='github-api-tools',
version=metadata['version'],
description='',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Environment :: Console',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
],
url='',
license='Apache License 2.0',
author='Tetsuya Morimoto',
author_email='[email protected]',
zip_safe=False,
platforms='any',
packages=['github_api'],
namespace_packages=['github_api'],
include_package_data=True,
install_requires=[
'PyGithub',
'matplotlib',
'numpy',
'pandas',
'pytz',
'requests',
'scipy',
'seaborn',
],
tests_require=[
'flake8==4.0.1',
'pytest',
'pytest-flake8',
'tox',
],
entry_points={
'console_scripts': [
'gh-cli-actions=github_api.cli.actions.main:main',
'gh-cli-issues=github_api.cli.issues.main:main',
'gh-cli-pulls=github_api.cli.pulls.main:main',
],
},
)