-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
34 lines (30 loc) · 985 Bytes
/
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
import os
from setuptools import setup
def long_description():
os.system('pandoc --from=markdown --to=rst --output=README.rst README.md')
readme_fn = os.path.join(os.path.dirname(__file__), 'README.rst')
if os.path.exists(readme_fn):
with open(readme_fn) as f:
return f.read()
else:
return 'not available'
setup(
name='boddle',
version=__import__('boddle').__version__,
description="A unit testing tool for Python's bottle library.",
long_description=long_description(),
author='Derek Anderson',
author_email='[email protected]',
url='https://github.com/keredson/boddle',
packages=[],
py_modules=['boddle'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
install_requires=['bottle'],
)