-
Notifications
You must be signed in to change notification settings - Fork 61
/
setup.py
39 lines (33 loc) · 994 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
35
36
37
38
39
import sys
from setuptools import setup, find_packages
from os.path import dirname, join
from os import environ
# this smells, but I don't know how to do better than this right now.
VERSION=environ.get("VERSION") or "0.99.dev0"
install_requires = [
'Click',
'setuptools',
'tzlocal',
'pytz'
]
if sys.version_info[1] == 6:
install_requires.append("importlib")
setup(
name='docker-rpm-builder',
description="Fast native RPM building from any distro, for any distro, via docker",
long_description=open("README.rst").read(),
author="Alan Franzoni",
author_email="[email protected]",
url="https://github.com/alanfranz/docker-rpm-builder",
version=VERSION,
packages=find_packages(),
install_requires=install_requires,
entry_points='''
[console_scripts]
docker-rpm-builder=drb.cmdline:cmdline
unit=unittest.__main__:main_
''',
license="Apache-2.0",
include_package_data=True,
zip_safe=False
)