Changeset 17:10ac53c60f3a in pyenvjasmine
- Timestamp:
- Apr 24, 2015, 12:42:46 PM (10 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r16 r17 1 1 import os 2 import setuptools3 2 from distutils.core import setup 4 3 5 version = '0.1. 1'4 version = '0.1.2' 6 5 7 6 requires = [ … … 9 8 'coverage' 10 9 ] 10 11 def 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 11 22 12 23 setup( … … 16 27 long_description=open('README.rst').read(), 17 28 author='Sascha Welter', 18 author_email='', 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 }, 19 37 url='https://bitbucket.org/codigo23/pyenvjasmine', 20 38 download_url='http://pypi.python.org/pypi/pyenvjasmine#downloads', 21 39 license='BSD licence, see LICENSE', 22 install_requires=requires,40 requires=requires, 23 41 classifiers=[ 24 42 'Development Status :: 5 - Production/Stable',
Note:
See TracChangeset
for help on using the changeset viewer.