forked from fedora-infra/fmn.web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (59 loc) · 1.5 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
61
62
63
64
65
66
67
""" Setup file for fmn.web """
import sys
import os
import logging
from setuptools import setup
# Ridiculous as it may seem, we need to import multiprocessing and logging here
# in order to get tests to pass smoothly on python 2.7.
try:
import multiprocessing
import logging
except:
pass
def get_description():
with open('README.rst', 'r') as f:
return ''.join(f.readlines()[2:])
requires = [
'SQLAlchemy>=0.8',
'fmn.lib',
'python-openid',
'python-openid-cla',
'python-openid-teams',
'Flask',
'Flask-openid>=1.2.4',
'wtforms',
'docutils',
'markupsafe',
'pylibravatar',
'pydns',
'urllib3',
'datanommer.models',
'arrow',
]
tests_require = [
'nose',
]
setup(
name='fmn.web',
version='0.8.1',
description='Frontend Web Application for Fedora Notifications',
long_description=get_description(),
author='Ralph Bean',
author_email='[email protected]',
url="https://github.com/fedora-infra/fmn.web/",
download_url="https://pypi.python.org/pypi/fmn.web/",
license='LGPLv2+',
install_requires=requires,
tests_require=tests_require,
test_suite='nose.collector',
packages=['fmn', 'fmn.web'],
namespace_packages=['fmn'],
include_package_data=True,
zip_safe=False,
classifiers=[
'Environment :: Web Environment',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Programming Language :: Python',
],
)