-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
38 lines (34 loc) · 1.37 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
# coding: utf-8 -*-
from setuptools import setup
from mongotor import version
import os
def get_packages():
# setuptools can't do the job :(
packages = []
for root, dirnames, filenames in os.walk('mongotor'):
if '__init__.py' in filenames:
packages.append(".".join(os.path.split(root)).strip("."))
return packages
setup(
name = 'mongotor',
version = version,
description = "(MongoDB + Tornado) is an asynchronous driver and toolkit for working with MongoDB inside a Tornado app",
long_description = open("README.md").read(),
keywords = ['mongo','tornado'],
author = 'Marcel Nicolay',
author_email = '[email protected]',
url = 'http://marcelnicolay.github.com/mongotor/',
license = 'OSI',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Natural Language :: English',
'Natural Language :: Portuguese (Brazilian)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Application Frameworks',
],
install_requires = open("requirements.txt").read().split("\n"),
packages = get_packages(),
test_suite="nose.collector"
)