Commits

JanKanis committed 529bb2c

also take out preconfigured bdist options and the setup.py_bdist_ugly_hack.sh script

Comments (0)

Files changed (2)

     'Topic :: Text Processing :: Markup',
     'Topic :: Utilities',
   ],
-  options = {'bdist': {'plat_name': 'linux'}},
 )

setup.py_bdist_ugly_hack.sh

-#!/bin/sh
-
-# a wrapper for "setup.py bdist_dumb"
-# I wanted to include the files differently into the  tar, but haven't figured out how to do that properly. This is an ugly hack but it works. 
-
-if test ! -x wiki2csv.py
-then
-	echo Error: call this script from the package\'s root directory
-	exit 1
-fi
-
-python setup.py bdist_dumb -p linux --no-hack-warning
-
-VER=`python setup.py -qV | tail -n +2 -n 1`
-
-echo Hacking symlinks into wiki2csv-$VER.linux.tar.gz...
-
-cd dist
-tar -xf wiki2csv-$VER.linux.tar.gz
-cd usr/local/bin/
-mv wiki2csv.py wiki2csv
-ln -s wiki2csv csv2wiki
-cd ../../..
-tar -cf wiki2csv-$VER.linux.tar.gz usr
-rm -r usr
-cd ..
-
-echo Hacking up wiki2csv-$VER.linux.tar.gz completed
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.