forked from SweetIQ/warmongo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
37 lines (32 loc) · 1.01 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
import setuptools
def parse_requirements():
reqs = open('requirements.txt', 'r')
raw_req = reqs.read()
reqs.close()
return raw_req.split('\n')
setuptools.setup(
name='warmongo',
version='0.5.2',
description='JSON-Schema-based ORM for MongoDB',
author='Rob Britton',
author_email='[email protected]',
url='http://github.com/robbrit/warmongo',
keywords=["mongodb", "jsonschema"],
packages=['warmongo'],
package_data={"warmongo": ["requirements.txt"]},
include_package_data=True,
install_requires=parse_requirements(),
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Database :: Front-Ends"
],
long_description="""\
JSON-Schema-based ORM for MongoDB
---------------------------------
Allows you to build models validated against a JSON-schema file, and save
them to MongoDB.
""",
)