-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
53 lines (45 loc) · 1.35 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
# -*- coding:utf-8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, "README.rst")) as f:
README = f.read()
except IOError:
README = ""
install_requires = [
"sqlalchemy",
"jsonschema",
"isodate", # hmm.
"pytz",
"magicalimport",
"dictknife>=0.7.2",
]
docs_extras = []
tests_require = ["pytest", "webob"]
testing_extras = tests_require + []
setup(
name="alchemyjsonschema",
version=open("VERSION").read().strip(),
description="A package for generating json-schema models from sqlalchemy models.",
long_description=README,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
],
keywords="alchemyjsonschema sqlalchemy jsonschema schema-generation",
author="podhmo",
author_email="",
url="https://github.com/podhmo/alchemyjsonschema",
packages=find_packages(exclude=["alchemyjsonschema.tests"]),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={"testing": testing_extras, "docs": docs_extras},
tests_require=tests_require,
license="mit",
entry_points="""
[console_scripts]
alchemyjsonschema = alchemyjsonschema.command.main:main
""",
)