-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 800 Bytes
/
setup.py
File metadata and controls
35 lines (30 loc) · 800 Bytes
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
from setuptools import setup, find_packages
cmdclass = {}
try:
from sphinx.setup_command import BuildDoc
cmdclass['build_sphinx'] = BuildDoc
except ImportError:
pass
def readme():
with open('README.rst') as f:
return f.read()
version = "0.3"
setup(
name="phoenixdb",
version=version,
description="Phoenix database adapter for Python",
long_description=readme(),
author="Lukas Lalinsky",
author_email="lukas@oxygene.sk",
url="https://bitbucket.org/lalinsky/python-phoenixdb",
license="Apache 2",
packages=find_packages(),
include_package_data=True,
cmdclass=cmdclass,
command_options={
'build_sphinx': {
'version': ('setup.py', version),
'release': ('setup.py', version),
},
},
)