-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (49 loc) · 1.76 KB
/
setup.py
File metadata and controls
53 lines (49 loc) · 1.76 KB
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
from setuptools import setup, find_packages
import sys
if 'sdist' in sys.argv or 'test' in sys.argv:
with open('githubissuesbot/README.md', 'w') as file_out:
with open('README.md', 'r') as file_in:
file_out.write(file_in.read())
with open('README.rst', 'r') as file:
long_description = file.read()
setup(
name='githubissuesbot',
version='0.5',
description='Automatically labels GitHub issues as console or web app based on regexp rules.',
long_description=long_description,
author='Dmitriy Bobir',
author_email='astercassio@gmail.com',
url='https://github.com/bobirdmi',
keywords='github,bot,issues,labeling',
license='Public Domain',
packages=find_packages(exclude=['tests*']),
setup_requires=['pytest-runner'],
install_requires=['Flask', 'markdown>=2', 'click>=6', 'requests>=2', 'appdirs>=1'],
tests_require=['pytest', 'betamax'],
entry_points={
'console_scripts': [
'githubissuesbot = githubissuesbot.command_line:main',
],
},
package_data={
'githubissuesbot': [
'config/*',
'templates/*.html',
'README.md'
],
},
classifiers=[
'Environment :: Console',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: Public Domain',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries',
],
)