-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 1.62 KB
/
setup.py
File metadata and controls
35 lines (32 loc) · 1.62 KB
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
import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
"""
Build an absolute path from *parts* and and return the contents of the
resulting file. Assume UTF-8 encoding.
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
setup(
name = 'sentimentpy',
#packages = ['vaderSentiment'], # this must be the same as the name above
packages = find_packages(exclude=['tests*']), # a better way to do it than the line above -- this way no typo/transpo errors
include_package_data=True,
version = '2.7.0',
description = 'sentimentpy: Calculate Text Polarity Sentiment',
long_description = read("README.rst"),
long_description_content_type = 'text/markdown',
author = 'Tyler W. Rinker',
author_email = 'tyler.rinker@gmail.com',
license = 'MIT License: http://opensource.org/licenses/MIT',
url = 'https://github.com/cjhutto/vaderSentiment', # use the URL to the github repo
download_url = 'https://github.com/trinker/sentimentpy/archive/master.zip',
keywords = ['sentiment'], # arbitrary keywords
classifiers = ['Development Status :: 4 - Beta', 'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License', 'Natural Language :: English',
'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Text Processing :: Linguistic',
'Topic :: Text Processing :: General'],
)