forked from python-cachier/cachier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (56 loc) · 1.92 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
65
"""Setup file for the Cachier package."""
# This file is part of Cachier.
# https://github.com/shaypal5/cachier
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Shay Palachy <[email protected]>
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import versioneer
TEST_REQUIRES = ['pytest', 'coverage', 'pytest-cov']
README_RST = ''
with open('README.rst') as f:
README_RST = f.read()
setup(
name='cachier',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Persistent, stale-free, local and cross-machine caching for Python functions.',
long_description=README_RST,
license='MIT',
author='Shay Palachy',
author_email='[email protected]',
url='https://github.com/shaypal5/cachier',
packages=['cachier'],
entry_points='''
[console_scripts]
cachier=cachier.scripts.cli:cli
''',
install_requires=[
'watchdog', 'portalocker'
],
extras_require={
'test': TEST_REQUIRES
},
platforms=['linux', 'osx', 'windows'],
keywords=['cache', 'persistence', 'mongo', 'memoization', 'decorator'],
classifiers=[
# Trove classifiers
# (https://pypi.python.org/pypi?%3Aaction=list_classifiers)
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
'Topic :: Other/Nonlisted Topic',
'Intended Audience :: Developers',
],
)