forked from alisaifee/limits
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·36 lines (30 loc) · 898 Bytes
/
setup.py
File metadata and controls
executable file
·36 lines (30 loc) · 898 Bytes
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
"""
setup.py for limits
"""
__author__ = "Ali-Akber Saifee"
__email__ = "ali@indydevs.org"
__copyright__ = "Copyright 2015, Ali-Akber Saifee"
from setuptools import setup, find_packages
import os
this_dir = os.path.abspath(os.path.dirname(__file__))
REQUIREMENTS = [
k for k in open(
os.path.join(this_dir, 'requirements', 'main.txt')
).read().splitlines() if k.strip()
]
import versioneer
setup(
name='limits',
author=__author__,
author_email=__email__,
license="MIT",
url="https://limits.readthedocs.org",
zip_safe=False,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
install_requires=REQUIREMENTS,
classifiers=[k for k in open('CLASSIFIERS').read().split('\n') if k],
description='Rate limiting utilities',
long_description=open('README.rst').read(),
packages=find_packages(exclude=["tests*"]),
)