forked from fedora-infra/fmn.rules
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (48 loc) · 1.32 KB
/
setup.py
File metadata and controls
56 lines (48 loc) · 1.32 KB
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
""" Setup file for fmn.rules """
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 = [
'python-fedora',
'fedmsg',
'fedmsg_meta_fedora_infrastructure',
'dogpile.cache',
]
tests_require = [
'nose',
]
setup(
name='fmn.rules',
version='0.5.1',
description='Message processing rules for Fedora Notifications',
long_description=get_description(),
author='Ralph Bean',
author_email='rbean@redhat.com',
url="https://github.com/fedora-infra/fmn.rules",
download_url="https://pypi.python.org/pypi/fmn.rules/",
license='LGPLv2+',
install_requires=requires,
tests_require=tests_require,
test_suite='nose.collector',
packages=['fmn', 'fmn.rules'],
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',
],
)