-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (42 loc) · 1.17 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
import io
import os
import sys
import shutil
import subprocess
import setuptools
# read module version file
setup_abs_path = os.path.abspath(os.path.dirname(__file__))
version_abs_path = os.path.join(setup_abs_path, "baemo", "__init__.py")
module_metadata = {}
with open(version_abs_path) as file_handle:
exec(file_handle.read(), module_metadata)
setuptools.setup(
name="baemo",
version=module_metadata["__version__"],
description="MongoDB ORM / ODM",
keywords="mongodb pymongo orm odm relationship reference unit-of-work",
url="https://github.com/chrisantonellis/baemo",
author="Christopher Antonellis",
author_email="[email protected]",
license="MIT",
packages=[
"baemo"
],
install_requires=[
"pymongo"
],
extras_require={
"tests": [
"green",
"coverage"
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6"
]
)