source: pyenvjasmine/setup.py@ 37:fe97cac0645e

Last change on this file since 37:fe97cac0645e was 37:fe97cac0645e, checked in by Borja Lopez <borja@…>, 6 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
RevLine 
[1]1import os
2from distutils.core import setup
[0]3
[34]4version = '0.2.1'
[0]5
[7]6requires = [
[26]7 'coverage',
[37]8 'pyflakes',
[26]9 'pytest',
[29]10 'pytest-cov',
[37]11 'pytest-flakes',
[7]12]
13
[17]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
[1]26setup(
27 name='pyenvjasmine',
28 version=version,
29 description="A Python wrapper for envjasmine",
[18]30 long_description=open('README').read(),
[1]31 author='Sascha Welter',
[17]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 },
[1]40 url='https://bitbucket.org/codigo23/pyenvjasmine',
41 download_url='http://pypi.python.org/pypi/pyenvjasmine#downloads',
[14]42 license='BSD licence, see LICENSE',
[29]43 install_requires=requires,
[1]44 classifiers=[
45 'Development Status :: 5 - Production/Stable',
46 'Environment :: Console',
47 'Intended Audience :: Developers',
[21]48 'License :: OSI Approved :: BSD License',
[1]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.