-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·65 lines (53 loc) · 1.62 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
#! /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('CHANGELOG.rst').read()
long_description = "\n\n".join([
open('README.rst').read(),
changelog
])
# Actual setup definition =====================================================
setup(
name='edeposit.amqp.rest',
version=getVersion(changelog),
description="REST API to access Edeposit website.",
long_description=long_description,
url='https://github.com/edeposit/edeposit.amqp.rest/',
author='Edeposit team',
author_email='[email protected]',
classifiers=[
"Development Status :: 3 - Alpha",
'Intended Audience :: Developers',
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"License :: OSI Approved :: MIT License",
],
license='MIT',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['edeposit', 'edeposit.amqp'],
scripts=[
'bin/edeposit_rest_runzeo.py',
'bin/edeposit_rest_webserver.py',
],
zip_safe=False,
include_package_data=True,
install_requires=open("requirements.txt").read().splitlines(),
test_suite='py.test',
tests_require=["pytest"],
extras_require={
"test": [
"pytest",
],
"docs": [
"sphinx",
"sphinxcontrib-napoleon",
]
},
)