comparison setup.py @ 2923:f09bf7d9578e

fix E402 errors; imports not at top of file after installing pep8 1.6.1; partial fix for #492
author RogerHaase <haaserd@gmail.com>
date Sat, 21 Feb 2015 08:15:07 -0700
parents 4f890d39e606
children ccad02fc9281 65fe46bad988
comparison
equal deleted inserted replaced
2922:b99ff90c7fac 2923:f09bf7d9578e
2 # Copyright: 2001 by Juergen Hermann <jh@web.de> 2 # Copyright: 2001 by Juergen Hermann <jh@web.de>
3 # Copyright: 2001-2012 MoinMoin:ThomasWaldmann 3 # Copyright: 2001-2012 MoinMoin:ThomasWaldmann
4 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details. 4 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details.
5 5
6 import os 6 import os
7 from setuptools import setup, find_packages
8
7 import MoinMoin # validate python version 9 import MoinMoin # validate python version
8 10
9 11
10 basedir = os.path.abspath(os.path.dirname(__file__)) 12 basedir = os.path.abspath(os.path.dirname(__file__))
11 with open(os.path.join(basedir, 'README.txt')) as f: 13 with open(os.path.join(basedir, 'README.txt')) as f:
12 long_description = f.read() 14 long_description = f.read()
13
14 from setuptools import setup, find_packages
15 15
16 16
17 setup_args = dict( 17 setup_args = dict(
18 name="moin", 18 name="moin",
19 version=str(MoinMoin.version), 19 version=str(MoinMoin.version),