-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·69 lines (62 loc) · 2.31 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
#!/usr/bin/env python
# -*- mode: python; coding: utf-8; -*-
##################################################################
# Libraries
from setuptools import setup
from glob import glob
from os import path
import codecs
##################################################################
# Variables and Constants
PWD = path.abspath(path.dirname(__file__))
ENCODING = "utf-8"
with codecs.open(path.join(PWD, "README.rst"), encoding="utf-8") as ifile:
long_description = ifile.read()
INSTALL_REQUIRES = []
with codecs.open(path.join(PWD, "requirements.txt"),
encoding=ENCODING) as ifile:
for iline in ifile:
iline = iline.strip()
if iline:
INSTALL_REQUIRES.append(iline)
TEST_REQUIRES = []
with codecs.open(path.join(PWD, "test-requirements.txt"),
encoding=ENCODING) as ifile:
for iline in ifile:
iline = iline.strip()
if iline:
TEST_REQUIRES.append(iline)
##################################################################
# setup()
setup(
name="dasa",
version="0.1.0a0",
description=("Discourse-aware sentiment analysis methods."),
long_description=long_description,
author="Wladimir Sidorenko (Uladzimir Sidarenka)",
author_email="[email protected]",
license="MIT",
url="https://github.com/WladimirSidorenko/DASA",
include_package_data=True,
packages=["dasa"],
package_data={},
install_requires=INSTALL_REQUIRES,
dependency_links=[
],
setup_requires=["pytest-runner"],
tests_require=TEST_REQUIRES,
provides=["dasa (0.1.0a0)"],
scripts=glob(path.join("scripts", "dasa*")),
classifiers=["Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: German",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Text Processing :: Linguistic"],
keywords="sentiment-analysis discourse NLP linguistics")