summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-01-08 00:18:54 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-01-08 00:18:54 +0000
commit6d0a5717e38ba94f3e1724a9ae68b72d9abae010 (patch)
tree00e35438dfc21293d233bb6cf1513f30ca837287
parentffae2dc515930e683af10a752b20070a01d0dd34 (diff)
downloaddocutils-6d0a5717e38ba94f3e1724a9ae68b72d9abae010.tar.gz
move import to the top; remove unused import
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4249 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rwxr-xr-xsetup.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/setup.py b/setup.py
index 7f28e9546..84032bdac 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,11 @@ import os
import glob
from distutils.core import setup
from distutils.command.build_py import build_py
-from distutils.command.install_data import install_data
+
+# From <http://groups.google.de/groups?as_umsgid=f70e3538.0404141327.6cea58ca@posting.google.com>.
+from distutils.command.install import INSTALL_SCHEMES
+for scheme in INSTALL_SCHEMES.values():
+ scheme['data'] = scheme['purelib']
def do_setup():
@@ -150,10 +154,5 @@ class dual_build_py(build_py):
self.byte_compile(self.get_outputs(include_bytecode=0))
-# From <http://groups.google.de/groups?as_umsgid=f70e3538.0404141327.6cea58ca@posting.google.com>.
-from distutils.command.install import INSTALL_SCHEMES
-for scheme in INSTALL_SCHEMES.values():
- scheme['data'] = scheme['purelib']
-
if __name__ == '__main__' :
do_setup()