-
Notifications
You must be signed in to change notification settings - Fork 96
/
setup.py
52 lines (46 loc) · 1.46 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
51
52
#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
os.chdir(os.path.dirname(sys.argv[0]) or ".")
try:
long_description = open("README.rst", "U").read()
except IOError:
long_description = "See https://github.com/wolever/pip2pi"
import libpip2pi
version = ".".join(map(str, libpip2pi.__version__))
setup(
name="pip2pi",
version=version,
url="https://github.com/wolever/pip2pi",
author="David Wolever",
author_email="[email protected]",
description="pip2pi builds a PyPI-compatible package repository from pip requirements",
long_description=long_description,
maintainer="Md Safiyat Reza",
maintainer_email="[email protected]",
packages=find_packages(),
entry_points={
'console_scripts': [
'dir2pi = libpip2pi.commands:dir2pi',
'pip2pi = libpip2pi.commands:pip2pi',
'pip2tgz = libpip2pi.commands:pip2tgz',
],
},
install_requires=[
"pip>=1.1",
],
license="BSD",
classifiers=[ x.strip() for x in """
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
Intended Audience :: System Administrators
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development
Topic :: Utilities
""".split("\n") if x.strip() ],
)