-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (48 loc) · 1.53 KB
/
setup.py
File metadata and controls
55 lines (48 loc) · 1.53 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
53
54
55
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
from diffmanifests.cmd.version import VERSION
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
# Define runtime dependencies directly
requirements = [
'colorama',
'openpyxl',
'requests',
'xmltodict',
]
# Development dependencies (not needed for installation)
dev_requirements = [
'coverage',
'coveralls',
'pytest',
'setuptools',
'twine',
'wheel',
]
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='Diff Manifests via Gitiles API',
download_url='https://github.com/craftslab/diffmanifests/archive/v%s.tar.gz' % VERSION,
entry_points={'console_scripts': ['diffmanifests=diffmanifests.main:main']},
include_package_data=True,
install_requires=requirements,
extras_require={
'dev': dev_requirements,
},
keywords=['diff', 'manifests', 'gitiles', 'api'],
license='Apache-2.0',
long_description=long_description,
long_description_content_type='text/markdown',
name='diffmanifests',
packages=setuptools.find_packages(exclude=['examples', 'ez_setup', 'release', 'script', 'tests', 'tests.*']),
package_data={'diffmanifests': ['config/*.json']},
url='https://github.com/craftslab/diffmanifests',
version=VERSION,
zip_safe=False)