forked from bnadlerjr/tavi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (44 loc) · 1.39 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (44 loc) · 1.39 KB
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
# I prefer Markdown to reStructuredText. PyPi does not. This allows people to
# install and not get any errors.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = (
"Tavi (as in `Rikki Tikki Tavi "
"<http://en.wikipedia.org/wiki/Rikki-Tikki-Tavi>`_) "
"is an extremely thin Mongo object mapper for Python. It is a thin "
"abstraction over `pymongo <http://api.mongodb.org/python/current/>`_ "
"that allows you to easily model your applications and persist your "
"data in MongoDB. See `README.md <http://github.com/bnadlerjr/tavi>`_ "
"for more details."
)
from setuptools import setup
test_requirements = [
'coverage==3.7.1',
'flake8==2.1.0',
'nose==1.3.1'
]
setup(
name='Tavi',
version='1.4.1',
author='Bob Nadler Jr.',
author_email='bnadlerjr@gmail.com',
packages=[
'tavi',
'tavi.base',
'tavi.utils'
],
url='https://github.com/bnadlerjr/tavi',
license='LICENSE.txt',
description='Super thin Mongo object mapper for Python.',
long_description=long_description,
include_package_data=True,
zip_safe=False,
install_requires=[
"inflection >= 0.2.0",
"pymongo >= 2.4.1"
] + test_requirements,
tests_require=test_requirements,
test_suite="nose_collector"
)