-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
50 lines (45 loc) · 1.58 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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import os
from setuptools import setup, find_packages
PACKAGE_NAME = "mozconfigwrapper"
PACKAGE_VERSION = "1.0.0"
tests_require = [
'cram >= 0.7',
]
# take description from README
here = os.path.dirname(os.path.abspath(__file__))
try:
description = open(os.path.join(here, 'README.md')).read()
except (OSError, IOError):
description = ''
setup(name=PACKAGE_NAME,
version=PACKAGE_VERSION,
description="Utility to make working with mozconfigs easier",
long_description=description,
author='Andrew Halberstadt',
author_email='ahal@pm.me',
url='http://github.com/ahal/mozconfigwrapper',
license='MPL 2.0/GPL 2.0/LGPL 2.1',
scripts=['mozconfigwrapper.sh'],
python_requires=">=3.5",
tests_require=tests_require,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points="""
[console_scripts]
mozconfig = mozconfigwrapper:mozconfig
""",
platforms =['Unix'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)