-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (29 loc) · 920 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
34
from setuptools import setup, find_packages
from os import path
import imp
base = path.dirname(__file__)
f = open(path.join(base, 'README.rst'))
long_description = f.read().strip()
f.close()
f = open(path.join(base, 'requirements.txt'))
install_requires = [ r.strip() for r in f.readlines() if '#egg=' not in r ]
f.close()
f = open(path.join(base, 'baf', 'version.py'))
version = imp.new_module('version')
exec(f.read(), version.__dict__)
f.close()
setup(
name='baf',
version=version.__versionstr__,
description='example packaging layout',
long_description=long_description,
license='BSD',
author='Jakub Vysoky',
author_email='[email protected]',
url='https://github.com/kvbik/python-baf',
packages=find_packages(),
entry_points={'console_scripts': ['baf = baf.manage:main']},
install_requires=install_requires,
include_package_data=True,
zip_safe=False,
)