-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
62 lines (57 loc) · 2.45 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
# -*- coding: utf-8 -*-
#
# This file is part of VilfredoReloadedCore.
#
# Copyright © 2009-2013 Pietro Speroni di Fenizio / Derek Paterson.
#
# VilfredoReloadedCore is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation version 3 of the License.
#
# VilfredoReloadedCore is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
# License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with VilfredoReloadedCore. If not, see
# <http://www.gnu.org/licenses/>.
#
###############################################################################
from setuptools import setup
with open('requirements/base.txt') as f:
requirements_base = f.read().splitlines()
with open('requirements/test.txt') as f:
requirements_test = f.read().splitlines()
setup(
name='VilfredoCore',
version=open('version.txt').read().strip(),
author = 'Derek Paterson, Pietro Speroni',
author_email='[email protected], [email protected]',
packages=['VilfredoReloadedCore', 'VilfredoReloadedCore.test'],
# namespace_packages=['VilfredoReloadedCore'],
keywords = 'Vilfredo Pareto, Decision Making, e-democracy',
url='https://github.com/fairdemocracy/vilfredo-core',
license='GNU AFFERO GENERAL PUBLIC LICENSE (AGPL) Version 3',
# long_description=open('README.rst').read(),
description = ('VilfredoReloadedCore the core of vilfredo, a'
' consensus-building and decision-making tool'),
entry_points='''
[console_scripts]
vr = VilfredoReloadedCore.main:main
''',
# To skip problems of local eggs we make fat requirements:
# http://stackoverflow.com/questions/1843424/setup-py-test-egg-install-location
install_requires=requirements_base + requirements_test,
include_package_data=True,
test_suite='nose.collector',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: AGPL License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)