Skip to content
This repository was archived by the owner on Dec 10, 2018. It is now read-only.

Commit 49442d7

Browse files
committed
Added standatd python packaging structure and information
* added setup.py * moved sources to sleepymongoose directory * linked httpd.py (for backwards compatibility) * added requirements.txt
1 parent 038b700 commit 49442d7

File tree

6 files changed

+332
-287
lines changed

6 files changed

+332
-287
lines changed

httpd.py

Lines changed: 0 additions & 287 deletions
This file was deleted.

httpd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sleepymongoose/httpd.py

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pymongo

setup.py

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
import os
2+
from setuptools import setup, find_packages
3+
4+
5+
try:
6+
f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
7+
long_description = f.read().strip()
8+
f.close()
9+
except IOError:
10+
long_description = None
11+
12+
setup(
13+
name='sleepy.mongoose',
14+
version='0.1',
15+
url='https://github.com/kchodorow/sleepy.mongoose',
16+
description='A REST interface for MongoDB',
17+
long_description=long_description,
18+
author='Kristina Chodorow',
19+
author_email='kristina@10gen.com',
20+
license='BSD',
21+
keywords='mongo http rest json proxy'.split(),
22+
platforms='any',
23+
entry_points = {
24+
'console_scripts': [
25+
'httpd = sleepymongoose.httpd:main',
26+
],
27+
},
28+
classifiers=[
29+
'Development Status :: 5 - Production/Stable',
30+
'Environment :: Web Environment',
31+
'Intended Audience :: Developers',
32+
'Natural Language :: English',
33+
'License :: OSI Approved :: BSD License',
34+
'Operating System :: OS Independent',
35+
'Programming Language :: Python',
36+
'Topic :: Utilities',
37+
],
38+
packages=find_packages(exclude=['t']),
39+
include_package_data=True,
40+
)
41+

sleepymongoose/__init__.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)