-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (46 loc) · 1.63 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
"""A setuptools based setup module for ox_cache
"""
# see also setup.cfg
from os import path
from setuptools import setup, find_packages
from ox_cache import VERSION
def get_readme():
'Get the long description from the README file'
here = path.abspath(path.dirname(__file__))
# README.rst is autogenerated from README.md via something like
# pandoc --from=markdown --to=rst --output=README.rst README.md
with open(path.join(here, 'README.rst'), encoding='utf-8') as my_fd:
result = my_fd.read()
return result
setup(
name='ox_cache',
version=VERSION,
description='Tools for caching and memoization in python.',
long_description=get_readme(),
url='http://github.com/emin63/ox_cache',
author='Emin Martinian',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
],
keywords='cache caching memoization',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
include_package_data=True,
install_requires=[],
# If there are data files included in your packages that need to be
# installed, specify them here.
package_data={
'sample': ['package_data.dat'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
)