-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (23 loc) · 898 Bytes
/
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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
from rcmemoize import __version__
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
packages = find_packages()
setup(
name='rcmemoize',
version=__version__,
description='Cache anything in the current request cycle in memory for preventing duplicate method callers.',
long_description=README,
url='https://github.com/baranbartu/rcmemoize',
download_url='https://github.com/baranbartu/rcmemoize/tarball/%s' % (
__version__,),
author='Baran Bartu Demirci',
author_email='[email protected]',
license='MIT',
keywords='django,memoize,memorize,cache,cached,cached property',
packages=packages
)