source: pyenvjasmine/setup.py@ 17:10ac53c60f3a

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

Bumped to version 0.1.2:

  • Removed setuptools import (was breaking the generation of source dist files, preventing additional package data files from being included)
  • Added a method to automatically find additional data files when generating source dist files
  • Added the author's email + maintainer information
  • Added README link to README.rst (distutils was complaining about it)
  • Added MANIFEST (autogenerated by distutils)
File size: 1.6 KB
Line 
1import os
2from distutils.core import setup
3
4version = '0.1.2'
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.rst').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.