-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
executable file
·33 lines (30 loc) · 1009 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from swiftnbd.const import version, project_url, description
def readme():
try:
return open("README.rst").read()
except:
return ""
setup(name="swiftnbd",
version=version,
description=description,
long_description=readme(),
author="Juan J. Martinez",
author_email="jjm@usebox.net",
url=project_url,
license="MIT",
include_package_data=True,
zip_safe=False,
install_requires=["python-swiftclient>=1.2.0", "gevent>=0.13.8"],
scripts=["bin/swiftnbd-server", "bin/swiftnbd-setup", "bin/swiftnbd-ctl"],
packages=find_packages(exclude=["tests"]),
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Programming Language :: Python",
"Operating System :: OS Independent",
"Environment :: No Input/Output (Daemon)",
"License :: OSI Approved :: MIT License",
],
)