forked from samgiles/slumber
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (26 loc) · 826 Bytes
/
setup.py
File metadata and controls
30 lines (26 loc) · 826 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
# -*- coding: utf-8 -*-
import os, sys
from setuptools import setup
kwargs = {}
if sys.version_info[0] >= 3:
print('Converting code to Python 3 helped by 2to3')
kwargs['use_2to3'] = True
base_dir = os.path.dirname(os.path.abspath(__file__))
setup(
name="slumber",
version="0.7.1.dev",
description="A library that makes consuming a REST API easier and more convenient",
long_description="\n\n".join([
open(os.path.join(base_dir, "README.rst"), "r").read(),
open(os.path.join(base_dir, "CHANGELOG.rst"), "r").read()
]),
url="http://slumber.in/",
author="Donald Stufft",
author_email="donald.stufft@gmail.com",
packages=["slumber"],
zip_safe=False,
install_requires=["requests"],
tests_require=["mock"],
test_suite="tests.get_tests",
**kwargs
)