-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
77 lines (68 loc) · 2.21 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
68
69
70
71
72
73
74
75
76
77
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Interpreter version: python 2.7
#
# Imports =====================================================================
from setuptools import setup, find_packages
from docs import getVersion
# Variables ===================================================================
changelog = open('CHANGES.rst').read()
long_description = "\n\n".join([
open('README.rst').read(),
changelog
])
# Actual setup definition =====================================================
setup(
name='edeposit.amqp',
version=getVersion(changelog),
description="E-Deposit's AMQP definitions and common classes/patterns.",
long_description=long_description,
url='https://github.com/edeposit/edeposit.amqp/',
author='Edeposit team',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Developers',
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules"
],
license='GPL2+',
packages=find_packages(exclude=['ez_setup']),
scripts=[
"bin/edeposit_amqp_tool.py",
"bin/edeposit_amqp_alephdaemon.py",
"bin/edeposit_amqp_calibredaemon.py",
"bin/edeposit_amqp_ftp_monitord.py",
"bin/edeposit_amqp_ftp_managerd.py",
"bin/edeposit_amqp_antivirusd.py",
"bin/edeposit_amqp_harvester.py",
"bin/edeposit_amqp_ltpd.py",
"bin/edeposit_amqp_pdfgend.py",
"bin/edeposit_amqp_downloaderd.py",
"bin/edeposit_amqp_storaged.py",
"bin/edeposit_amqp_marcxml2modsd.py",
"bin/edeposit_amqp_aleph_link_exportd.py",
],
namespace_packages=['edeposit'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
"python-daemon==1.6",
"edeposit.amqp.serializers",
"pika>=0.9.13",
"sh", # required by edeposit.amqp.ftp for monitor daemon
],
extras_require={
"test": [
"pytest",
"sh"
],
"docs": [
"sphinx",
"sphinxcontrib-napoleon",
]
}
)