-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
60 lines (56 loc) · 2.16 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
56
57
58
59
60
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
about = {}
with open(os.path.join(here, 'twitcher', '__version__.py'), 'r') as f:
exec(f.read(), about)
reqs = [line.strip() for line in open('requirements.txt')]
dev_reqs = [
line.strip() for line in open('requirements_dev.txt')
if not line.startswith("-r ")
]
setup(name='pyramid_twitcher',
version=about['__version__'],
description=about['__doc__'],
long_description=README + '\n\n' + CHANGES,
long_description_content_type="text/x-rst",
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: Pyramid",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author=about['__author__'],
author_email=about['__email__'],
url='https://github.com/bird-house/twitcher.git',
license='Apache License 2.0',
keywords='web pyramid twitcher birdhouse wps security proxy ows ogc',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='twitcher',
python_requires=">=3.8, <4",
install_requires=reqs,
extras_require={
"dev": dev_reqs, # pip install ".[dev]"
"postgres": ["psycopg2"], # when using postgres database driver with sqlalchemy
},
entry_points="""\
[paste.app_factory]
main = twitcher:main
[console_scripts]
twitcherctl=twitcher.scripts.twitcherctl:main
initialize_twitcher_db=twitcher.scripts.initialize_db:main
""",
)