source: pyenvjasmine/setup.py@ 19:ab5f65372038

Last change on this file since 19:ab5f65372038 was 18:7d8d44a4de7a, checked in by Borja Lopez <borja@…>, 9 years ago

Bumped version to 0.1.3:

  • Use README instead of README.rst to grab the long description of the package (was breaking install using pip)
File size: 1.6 KB
Line 
1import os
2from distutils.core import setup
3
4version = '0.1.3'
5
6requires = [
7 'nose',
8 'coverage'
9]
10
11def get_package_data(package, path):
12 """
13 Return a list of files to be added as package_data for the given path
14 """
15 data = []
16 full_path = os.path.join(package, path)
17 for root, dirs, files in os.walk(full_path):
18 for f in files:
19 data.append(os.path.join(root.replace(package+'/', ''), f))
20 return data
21
22
23setup(
24 name='pyenvjasmine',
25 version=version,
26 description="A Python wrapper for envjasmine",
27 long_description=open('README').read(),
28 author='Sascha Welter',
29 author_email='sw@betabug-sirius.ch',
30 maintainer='Francisco de Borja Lopez Rio',
31 maintainer_email='borja@codigo23.net',
32 packages=['pyenvjasmine'],
33 package_data = {
34 'pyenvjasmine': get_package_data('pyenvjasmine', 'envjasmine') + \
35 ['runner.html']
36 },
37 url='https://bitbucket.org/codigo23/pyenvjasmine',
38 download_url='http://pypi.python.org/pypi/pyenvjasmine#downloads',
39 license='BSD licence, see LICENSE',
40 requires=requires,
41 classifiers=[
42 'Development Status :: 5 - Production/Stable',
43 'Environment :: Console',
44 'Intended Audience :: Developers',
45 'License :: OSI Approved :: Zope Public License',
46 'Natural Language :: English',
47 'Operating System :: OS Independent',
48 'Programming Language :: Python :: 2',
49 'Programming Language :: Python :: 3',
50 'Programming Language :: JavaScript',
51 'Topic :: Software Development',
52 'Topic :: Software Development :: Testing',
53 ]
54)
Note: See TracBrowser for help on using the repository browser.