Added setup.py and MANIFEST.in, added to PyPI

This commit is contained in:
Harry Marr
2010-01-03 02:30:34 +00:00
parent b89982fd99
commit f98e9bd732
4 changed files with 60 additions and 7 deletions

35
setup.py Normal file
View File

@@ -0,0 +1,35 @@
from setuptools import setup
VERSION = '0.1'
DESCRIPTION = "A Python Document-Object Mapper for working with MongoDB"
LONG_DESCRIPTION = None
try:
LONG_DESCRIPTION = open('README.rst').read()
except:
pass
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Database',
'Topic :: Software Development :: Libraries :: Python Modules',
]
setup(name='mongoengine',
version=VERSION,
packages=['mongoengine'],
author='Harry Marr',
author_email='harry.marr@{nospam}gmail.com',
url='http://hmarr.com/mongoengine/',
license='MIT',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
platforms=['any'],
classifiers=CLASSIFIERS,
install_requires=['pymongo'],
)