-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
74 lines (67 loc) · 2.52 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
#!/usr/env/python
# -*- coding: utf-8 -*-
# Copyright (C) 2009-2011 CREA Lab, CNRS/Ecole Polytechnique UMR 7656 (Fr)
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
__version__="1.0alpha"
__url__="http://tinasoft.eu"
__longdescr__="A text-mining python module producing thematic networks"
__license__="GNU General Public License v3"
__keywords__="semantic network"
__author__="elias showk"
__author_email__="[email protected]"
__classifiers__= [
"Topic :: Text Processing :: Indexing",
"Topic :: Text Processing :: Linguistic",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Programming Language :: Python :: 2.6",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Unix",
"Framework :: Twisted"
]
from setuptools import find_packages
from distutils.core import setup
from glob import glob
import os
from os import path
#import unittest
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
#DEPS = glob(os.path.dirname(os.path.abspath(__file__)) + "/deps/*")
data_files = [
('tinasoft/shared', glob(r'shared/*.*')),
('tinasoft', glob(r'config_unix.yaml')),
('tinasoft', glob(r'config_win.yaml')),
('tinasoft',glob(r'README')),
('tinasoft',glob(r'LICENSE'))
]
setup (
name = 'TinasoftPytextminer',
packages = find_packages(),
data_files = data_files,
include_package_data = True,
# Declare your packages' dependencies here, for eg:
install_requires = ['simplejson','pyyaml','numpy','nltk','jsonpickle','tenjin','zope.interface','twisted'],
scripts = ['httpserver.py'],
version = __version__,
url = __url__,
long_description = __longdescr__,
license = __license__,
keywords = __keywords__,
author = __author__,
author_email = __author_email__,
classifiers = __classifiers__,
#test_suite = "unittest.TinasoftUnitTests",
#dependency_links = DEPS,
)