This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
56 lines (44 loc) · 1.39 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
from setuptools import setup, find_packages
from distutils.cmd import Command
import codecs
import sys, os
import doctest
from glob import glob
sys.path.insert(0,'src/')
init_pyc = 'src/flatty/__init__.pyc'
if os.path.exists(init_pyc):
os.remove(init_pyc)
import flatty
if os.path.exists("doc/source/introduction.rst"):
long_description = codecs.open('doc/source/introduction.rst', "r", "utf-8").read()
else:
long_description = "See " + flatty.__homepage__
setuptools_options = {
'test_suite': 'flatty.tests.suite',
'zip_safe': True,
}
setup(
name = "flatty",
version = flatty.__version__,
packages = find_packages('src'),
package_dir = {'':'src'},
# metadata for upload to PyPI
author = flatty.__author__,
author_email = flatty.__contact__,
description = flatty.__doc__,
long_description=long_description,
keywords = "marshaller schema objectmapper couchdb mongodb orm",
platforms=["any"],
url = flatty.__homepage__,
license = 'BSD',
classifiers=[
"Development Status :: 3 - Alpha",
"Operating System :: OS Independent",
"Programming Language :: Python",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Topic :: Software Development :: Pre-processors",
"Topic :: Software Development :: Libraries :: Python Modules",
],
**setuptools_options
)