Subversion Repositories pub

Compare Revisions

No changes between revisions

Ignore whitespace Rev 617 → Rev 618

/relevation/branches/1.3.1/devtools/setup.py.in
17,7 → 17,9
def run(self):
distutils.command.install_scripts.install_scripts.run(self)
for script in self.get_outputs():
if script.endswith(".py"):
if script.endswith('.bash'):
shutil.move(script, script[:-5])
elif script.endswith('.py'):
shutil.move(script, script[:-3])
 
setup(name='relevation',
33,7 → 35,7
license='BSD',
package_dir={'': 'src'},
packages=['relevation'],
scripts=['src/relevation.py'],
scripts=['src/relevation.bash'],
cmdclass = {"install_scripts": my_install}, # hook
data_files=[
('share/man/man1', ['relevation.1']),
/relevation/branches/1.3.1/devtools/devenv.bash
0,0 → 1,13
#!/bin/bash
#
# This script sets up environment for development
# $Id$
#
pp="$(realpath "$(dirname "$0")"/../src)"
 
echo "#"
echo "# PYTHONPATH=\"$pp\""
echo "#"
 
env PYTHONPATH="$pp" bash --rcfile <(echo PS1='"[RLV]\\u@\\h:\\w\\$ "')
 
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:keywords
+Rev Id Date
\ No newline at end of property