source: pyenvjasmine/setup.py@ 27:e32e07c9d820

Last change on this file since 27:e32e07c9d820 was 27:e32e07c9d820, checked in by Borja Lopez <borja@…>, 6 years ago

Version bumped to 0.2

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