add MANIFEST file to include additional files in source distribution (this only happens automatically for svn and cvs). only use ez_setup if necessary. bump version
This commit is contained in:
parent
c220a6031b
commit
c9b7f2e40f
5
MANIFEST.in
Normal file
5
MANIFEST.in
Normal file
@ -0,0 +1,5 @@
|
||||
include README.rst
|
||||
include ez_setup.py
|
||||
include epydoc-config
|
||||
recursive-include examples *.py
|
||||
recursive-include tools *.py README.rst validate
|
||||
11
setup.py
11
setup.py
@ -1,8 +1,11 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from ez_setup import use_setuptools
|
||||
use_setuptools()
|
||||
from setuptools import setup
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
from ez_setup import use_setuptools
|
||||
use_setuptools()
|
||||
from setuptools import setup
|
||||
from distutils.core import Extension
|
||||
|
||||
f = open("README.rst")
|
||||
@ -15,7 +18,7 @@ finally:
|
||||
|
||||
setup(
|
||||
name="pymongo",
|
||||
version="0.5pre",
|
||||
version="0.5.1pre",
|
||||
description="Driver for the Mongo database <http://www.mongodb.org>",
|
||||
long_description=readme_content,
|
||||
author="10gen",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user