source: pyenvjasmine/setup.py@ 37:fe97cac0645e

Last change on this file since 37:fe97cac0645e was 37:fe97cac0645e, checked in by Borja Lopez <borja@…>, 3 years ago

Added pyflakes and pytest-flakes as dependencies.
Improved py.test configs so py.test is called by default with some parameters

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