fixing the setup.py for the pypi

This commit is contained in:
Oleg Podsadny 2013-06-16 15:52:20 +02:00
parent d88eb9be51
commit e078457f1c
4 changed files with 26 additions and 2 deletions

4
CHANGELOG Normal file
View File

@ -0,0 +1,4 @@
Changes between 0.4.1 and 0.4.2
-------------------------------
- Update the license file and PYPI related documentation

4
MANIFEST.in Normal file
View File

@ -0,0 +1,4 @@
include CHANGELOG
include README.md
include setup.py
include LICENSE

View File

@ -18,19 +18,35 @@ class PyTest(TestCommand):
errno = pytest.main(self.test_args) errno = pytest.main(self.test_args)
sys.exit(errno) sys.exit(errno)
long_description = open('README.md').read()
setup( setup(
name='pytest-bdd', name='pytest-bdd',
description='BDD for pytest', description='BDD for pytest',
long_description=long_description,
author='Oleg Pidsadnyi', author='Oleg Pidsadnyi',
license='MIT license',
author_email='oleg.podsadny@gmail.com', author_email='oleg.podsadny@gmail.com',
version='0.4.1', version='0.4.2',
classifiers=[
'Development Status :: 6 - Mature',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3'
] + [('Programming Language :: Python :: %s' % x) for x in '2.6 2.7 3.0 3.1 3.2 3.3'.split()],
cmdclass={'test': PyTest}, cmdclass={'test': PyTest},
install_requires=[ install_requires=[
'pytest', 'pytest',
], ],
# the following makes a plugin available to py.test # the following makes a plugin available to py.test
entry_points = { entry_points={
'pytest11': [ 'pytest11': [
'pytest-bdd = pytest_bdd.plugin', 'pytest-bdd = pytest_bdd.plugin',
] ]