-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
59 lines (55 loc) · 2.33 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
# -*- coding:utf-8 -*-
#
# Copyright 2012 NAMD-EMAP-FGV
#
# This file is part of PyPLN. You can get more information at: http://pypln.org/.
#
# PyPLN is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# PyPLN 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with PyPLN. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup, find_packages
def get_requirements():
requirements_fp = open('requirements/production.txt')
requirements = requirements_fp.readlines()
requirements_fp.close()
packages = []
for package in requirements:
if '#egg=' in package:
# This package is installed via pip using "editable installs"
# http://www.pip-installer.org/en/latest/logic.html#editable-installs
# Since this is not a valid package descriptor for
# install_requires, we'll ignore it in setup.py
continue
package = package.split('#')[0].strip()
if package:
packages.append(package)
return packages
setup(name='pypln.backend',
version='0.1.0d',
author=('Álvaro Justen <[email protected]>',
'Flávio Amieiro <[email protected]>',
'Flávio Codeço Coelho <[email protected]>',
'Renato Rocha Souza <[email protected]>'),
author_email='[email protected]',
url='https://github.com/NAMD/pypln.backend',
description='Distributed natural language processing framework',
zip_safe=False,
entry_points={'console_scripts': ['pypln-router = pypln.backend.router:main',
'pypln-broker = pypln.backend.broker:main',
'pypln-pipeliner = pypln.backend.pipeliner:main',],
},
packages=find_packages(),
namespace_packages=["pypln"],
install_requires=get_requirements(),
test_suite='nose.collector',
license='GPL3',
)