-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (31 loc) · 1.2 KB
/
setup.py
File metadata and controls
37 lines (31 loc) · 1.2 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
from gerritqueue.version import VERSION
with open('README.md', 'r') as f:
long_description = f.read()
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
setuptools.setup(
author='Jia Jia',
author_email='angersax@sina.com',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
description='Gerrit event queue',
download_url='https://github.com/craftslab/gerritqueue/archive/v%s.tar.gz' % VERSION,
entry_points={'console_scripts': ['gerritqueue=gerritqueue.main:main']},
include_package_data=True,
install_requires=requirements,
keywords=['gerrit', 'event', 'queue'],
license='Apache-2.0',
long_description=long_description,
long_description_content_type='text/markdown',
name='gerritqueue',
packages=setuptools.find_packages(exclude=['examples', 'ez_setup', 'release', 'tests', 'tests.*']),
package_data={'gerritqueue': ['config.json']},
url='https://github.com/craftslab/gerritqueue',
version=VERSION,
zip_safe=False)