forked from fedora-infra/tahrir
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (52 loc) · 1.65 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
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()
requires = [
'pyramid',
'tahrir_api >= 0.2.0',
'SQLAlchemy',
'transaction',
'pyramid_tm',
'zope.sqlalchemy',
"weberror",
'velruse',
"qrcode",
"dogpile.cache",
'docutils',
"python-dateutil",
"moksha.wsgi>=1.2.1",
# For qrcode to work from PyPI, you also need Pillow.
# This is handled for us in Fedora because python-qrcode pulls in the
# correct underlying imaging library.
#"Pillow",
# Optional -- used for scaling images to 256x256.
# You also need "ImageMagick-devel" for this to build from pypi
#"magickwand",
]
setup(name='tahrir',
version='0.3.3',
description='A pyramid app for issuing your own Open Badges',
long_description=README,
license="AGPLv3+ with additional permission",
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
],
author='Ralph Bean',
author_email='[email protected]',
url='http://github.com/fedora-infra/tahrir',
keywords='web wsgi bfg pylons pyramid badges open fedbadges',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='tahrir',
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = tahrir:main
""",
)