-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
executable file
·43 lines (38 loc) · 1.49 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
about = {}
with open(path.join(here, 'elastic_site_search', 'version.py'), 'r', 'utf-8') as f:
exec(f.read(), about)
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'elastic-site-search',
version = about['VERSION'],
description = 'Elastic Site Search API Client for Python',
license = 'Apache 2.0',
long_description=long_description,
long_description_content_type='text/markdown',
author = 'Elastic',
author_email = '[email protected]',
url = 'https://github.com/elastic/site-search-python',
packages = find_packages(exclude=['tests', 'fixtures']),
install_requires = ["six"],
tests_require=['nose', 'vcrpy', 'mock', 'unittest2'],
test_suite='nose.collector',
classifiers = [
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
],
)