comparison setup.py @ 40:8a3f3427aa15

Fix setup.py and update coding style
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 20 Oct 2014 16:16:21 +0200
parents 75d90af41dfa
children 1e62ccffb395
comparison
equal deleted inserted replaced
39:fceca6088481 40:8a3f3427aa15
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 2
3 from setuptools import setup, find_packages 3 from setuptools import setup, find_packages
4 4
5 version = '0.1' 5 version = '0.1'
6
6 7
7 def read(filename): 8 def read(filename):
8 with open(filename, "r") as f: 9 with open(filename, "r") as f:
9 return f.read() 10 return f.read()
10 11
25 license='', 26 license='',
26 packages=find_packages(exclude=["examples"]), 27 packages=find_packages(exclude=["examples"]),
27 include_package_data=True, 28 include_package_data=True,
28 zip_safe=True, 29 zip_safe=True,
29 install_requires=read("requirements.txt").split(), 30 install_requires=read("requirements.txt").split(),
30 ],
31 ) 31 )
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)