This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathsetup.py
64 lines (56 loc) · 2.04 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
try:
from os import path
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
from vocabulary.version import VERSION
__version__ = VERSION
# here = path.abspath(path.dirname(__file__))
# # get the dependencies and installs
# if sys.version_info[:2] <= (2, 7):
# with open(path.join(here, 'requirements.txt')) as f:
# all_reqs = f.read().split('\n')
# else:
# with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
# all_reqs = f.read().split('\n')
# install_requires = [x.strip() for x in all_reqs if 'git+' not in x]
# dependency_links = [x.strip().replace('git+', '') for x in all_reqs if 'git+' not in x]
try:
if sys.version_info[:2] <= (2, 7):
readme = open("README.rst")
else:
readme = open("README.rst", encoding="utf8")
long_description = str(readme.read())
finally:
readme.close()
setup(
name='Vocabulary',
author='Tasdik Rahman',
version=VERSION,
author_email='[email protected]',
description="Module to get meaning, synonym, antonym, part_of_speech, usage_example, pronunciation and hyphenation for a given word",
long_description=long_description,
url='https://github.com/tasdikrahman/vocabulary',
license='MIT',
install_requires=[
"requests==2.13.0",
"mock==2.0.0"
],
#dependency_links=dependency_links,
# adding package data to it
packages=find_packages(exclude=['contrib', 'docs']),
download_url='https://github.com/tasdikrahman/vocabulary/tarball/' + __version__,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords=['Dictionary', 'Vocabulary', 'simple dictionary', 'pydict', 'dictionary module']
)