-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
48 lines (42 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
"""pyramid_mongodb installation script.
"""
import os
from setuptools import setup
from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, "README")).read()
README = README.split("\n\n", 1)[0] + "\n"
requires = [
"pyramid",
"pymongo",
]
entry_points = """
[paste.paster_create_template]
pyramid_mongodb = pyramid_mongodb.paster_templates:MongodbProjectTemplate
[pyramid.scaffold]
pyramid_mongodb = pyramid_mongodb.paster_templates:MongodbProjectTemplate
"""
setup(name="pyramid_mongodb",
version="1.3",
description="Pyramid application template for a traversal-based URL mapping and MongoDB project.",
long_description=README,
#long_description=README + "\n\n" + CHANGES,
classifiers=[
"Intended Audience :: Developers",
"Framework :: Pylons",
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
],
keywords="web wsgi pylons pyramid mongodb",
author="Niall O'Higgins",
author_email="[email protected]",
url="https://github.com/niallo/pyramid_mongodb",
license="MIT",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
tests_require = requires,
install_requires = requires,
test_suite="pyramid_mongodb",
entry_points=entry_points,
)