-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·47 lines (41 loc) · 1.52 KB
/
setup.py
File metadata and controls
executable file
·47 lines (41 loc) · 1.52 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
#!/usr/bin/env python
import sys
from setuptools import setup
VERSION = '0.3.6'
install_requires = []
if sys.version_info < (2, 7):
install_requires.append('argparse')
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("Warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(name='bureaucrat',
version=VERSION,
author="Andrew Cutler",
author_email="andrew@adlibre.com.au",
description="Procfile and Deployfile process manager for Python virtual environments",
license="BSD",
long_description=read_md('README.md'),
url='https://github.com/adlibre/python-bureaucrat',
download_url='https://github.com/adlibre/python-bureaucrat/archive/v%s.tar.gz' % VERSION,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: System :: Software Distribution",
"Topic :: Utilities",
],
scripts=['bureaucrat'],
install_requires=install_requires,
tests_require=['pytest', 'pytest-capturelog'],
)