2015-09-16 00:35:18 +00:00
|
|
|
import setuptools
|
2016-05-11 11:41:56 -07:00
|
|
|
import codecs
|
2015-09-16 00:35:18 +00:00
|
|
|
|
2018-09-17 13:24:59 -07:00
|
|
|
test_deps = ['pytest']
|
|
|
|
|
|
|
|
try:
|
|
|
|
import unittest.mock
|
|
|
|
except:
|
|
|
|
test_deps.append('mock')
|
|
|
|
|
2015-09-16 00:35:18 +00:00
|
|
|
setuptools.setup(
|
2017-02-28 16:23:59 -08:00
|
|
|
name='doublethink',
|
2023-05-18 17:16:04 -07:00
|
|
|
version='0.4.0',
|
2017-02-28 16:23:59 -08:00
|
|
|
packages=['doublethink'],
|
2015-09-16 00:35:18 +00:00
|
|
|
classifiers=[
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
2015-10-30 19:51:50 +00:00
|
|
|
'Programming Language :: Python :: 3.5',
|
2017-02-17 17:23:53 -08:00
|
|
|
'Programming Language :: Python :: 3.6',
|
2018-09-17 13:24:59 -07:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2015-09-16 00:35:18 +00:00
|
|
|
],
|
2023-05-18 17:16:04 -07:00
|
|
|
install_requires=['rethinkdb>=2.4,<2.5'],
|
2018-09-17 13:24:59 -07:00
|
|
|
extras_require={'test': test_deps},
|
2017-03-01 17:37:13 -08:00
|
|
|
url='https://github.com/internetarchive/doublethink',
|
2015-10-30 20:03:34 +00:00
|
|
|
author='Noah Levitt',
|
|
|
|
author_email='nlevitt@archive.org',
|
2017-02-24 16:40:33 -08:00
|
|
|
description='rethinkdb python library',
|
2016-05-11 11:41:56 -07:00
|
|
|
long_description=codecs.open(
|
|
|
|
'README.rst', mode='r', encoding='utf-8').read(),
|
2017-09-26 16:43:37 -07:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2017-10-03 16:13:42 -07:00
|
|
|
'doublethink-purge-stale-services=doublethink.cli:purge_stale_services',
|
2017-09-26 16:43:37 -07:00
|
|
|
]
|
|
|
|
},
|
2015-09-16 00:35:18 +00:00
|
|
|
)
|