initialize project structure

This commit is contained in:
Romain Dorgueil
2016-12-09 05:05:03 +01:00
parent 71ff7e336d
commit a7a00011fc
12 changed files with 121 additions and 0 deletions

38
setup.py Normal file
View File

@ -0,0 +1,38 @@
# This file is autogenerated by edgy.project code generator.
# All changes will be overwritten.
from setuptools import setup, find_packages
tolines = lambda c: list(filter(None, map(lambda s: s.strip(), c.split('\n'))))
def read(filename, flt=None):
with open(filename) as f:
content = f.read().strip()
return flt(content) if callable(flt) else content
try:
version = read('version.txt')
except:
version = 'dev'
setup(
name = 'bonobo',
description = '',
license = 'Apache License, Version 2.0',
install_requires = [],
version = version,
long_description = read('README.rst'),
classifiers = read('classifiers.txt', tolines),
packages = find_packages(exclude=['ez_setup', 'example', 'test']),
include_package_data = True,
extras_require = {'dev': ['coverage >=4.0,<4.2',
'mock >=2.0,<2.1',
'nose >=1.3,<1.4',
'pylint >=1.6,<1.7',
'pytest >=2.9,<2.10',
'pytest-cov >=2.3,<2.4',
'sphinx',
'sphinx_rtd_theme']},
url = '',
download_url = ''.format(version=version),
)