-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
31 lines (27 loc) · 952 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
from durus import __version__
import sys, os
from setuptools import setup, Extension
if 'sdist' in sys.argv:
if sys.platform == 'darwin':
# Omit extended attributes from tarfile
os.environ['COPYFILE_DISABLE'] = 'true'
persistent = Extension(name="durus._persistent",
sources=["durus/_persistent.c"])
setup(name = "Durus",
version = __version__,
description = "A Python Object Database",
long_description = """
Serves and manages changes to persistent objects being used in
multiple client processes.
""",
scripts = ["bin/durus"],
package_dir = {'durus' : 'durus'},
packages = ["durus"],
platforms = ['Python >=2.6'],
author = "CNRI and others",
author_email = "[email protected]",
url = "https://github.com/nascheme/durus",
ext_modules = [persistent],
license = "see LICENSE.txt",
zip_safe=False,
)