-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
57 lines (50 loc) · 1.68 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
"""Installation setup."""
import os
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
PACKAGE = 'namebot'
VERSION = '3.4.6'
def _get_requires(filepath):
path = '{}/{}'.format(os.path.abspath(os.path.dirname(__file__)), filepath)
with open(path) as reqs:
return [req for req in reqs.read().split('\n') if req]
keywords = ['namebot', 'name generator', 'nlp', 'natural language processing']
description = ('A company/product name generating tool written in Python.'
'Uses NLTK and diverse wordplay techniques for'
'sophisticated word generation and ideation')
setup(
name='namebot',
version=VERSION,
description=description,
author='Chris Tabor',
author_email='dxdstudio@gmail.com',
maintainer='Chris Tabor',
maintainer_email='dxdstudio@gmail.com',
url='https://github.com/automotron/namebot',
keywords=keywords,
license='Apache License 2.0',
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=_get_requires('requirements.txt'),
setup_requires=[
'setuptools>=0.8',
],
tests_require=[
'nose',
],
test_suite='tests',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Text Processing',
'Topic :: Text Processing :: Filters',
'Topic :: Text Processing :: General',
'Topic :: Text Processing :: Indexing',
'Topic :: Utilities',
]
)