-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
49 lines (43 loc) · 1.34 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
#!/usr/bin/env python
from setuptools import setup
from pypi2spec import __version__
description = "Small library to help you generate spec file for pypi project."
long_description = """
pypi2spec makes you life easier at packaging pypi project for Fedora.
"""
download_url = "http://pypi.python.org/packages/source/p/pypi2spec/pypi2spec-%s.tar.gz" % __version__
requirements = [
'jinja2',
]
try:
import argparse
except ImportError:
requirements.append('argparse')
setup(
name='pypi2spec',
version=__version__,
description=description,
author="Pierre-Yves Chibon",
author_email="[email protected]",
maintainer="Pierre-Yves Chibon",
maintainer_email="[email protected]",
url="http://github.com/pypingou/pypi2spec",
license="GPLv3+",
long_description=long_description,
download_url=download_url,
packages=['pypi2spec'],
include_package_data=True,
install_requires=requirements,
entry_points="""
[console_scripts]
pypi2spec = pypi2spec:main
""",
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Environment :: Console",
],
)