diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 25 |
1 files changed, 8 insertions, 17 deletions
@@ -10,30 +10,21 @@ try: except (IOError, OSError): reqs = '' -def list_folder(path, extensions): - """ - Recursive function to list folders - extensions may be a list like ["css", "js", "html"] - """ - final = [] - for root, subfolders, filenames in os.walk(path): - for subfolder in subfolders: - for ext in extensions: - final.append("%s/%s/*.%s" % (root[len("chimere/"):], subfolder, ext)) - return final - setup( name='chimere', version=chimere.get_version(), description= - """Chimere is a kind of online “mashup” which is designed to aggregate geographic data from several sources. Chimere gets a map from OpenStreetMap and display other data added by users. Datas are freely submitted by visitors and then validated by an administrator.""", - author='Étienne Loks', + "Chimere is a kind of online “mashup” which is designed to aggregate "\ + "geographic data from several sources. Chimere gets a map from "\ + "OpenStreetMap and display other data added by users. Datas are freely "\ + "submitted by visitors and then validated by an administrator.", + long_description=open('README.txt').read(), + author=u'Étienne Loks', author_email='etienne.loks@peacefrogs.net', url='http://blog.peacefrogs.net/nim/chimere/', - packages=find_packages(exclude=["example", "example.*",]), + license='GPL v3 licence, see COPYING', + packages=find_packages(), include_package_data=True, - package_data={ - 'chimere': list_folder(os.path.join('chimere', 'static'), ["css", "js", "png"]) + list_folder(os.path.join('chimere', 'templates'), ["html"])}, install_requires=reqs, classifiers=[ 'Development Status :: 4 - Beta', |