This is the mail archive of the
cygwin-apps-cvs
mailing list for the cygwin-apps project.
[calm - Cygwin server-side packaging maintenance script] branch master, updated. d86f99a0ec043f09521e35658d9ab6364e107642
- From: jturney at sourceware dot org
- To: cygwin-apps-cvs at sourceware dot org
- Date: 12 May 2016 16:45:06 -0000
- Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. d86f99a0ec043f09521e35658d9ab6364e107642
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=d86f99a0ec043f09521e35658d9ab6364e107642
commit d86f99a0ec043f09521e35658d9ab6364e107642
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Tue May 10 13:54:50 2016 +0000
Make packageable
Rearrange file layout for python packaging
Add setup.py
Use python3 style relative imports
Add calm and mksetupini script entry points
Fix tests to locate testdata in the same directory
Diff:
---
calm.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/calm.sh b/calm.sh
index 48fba9c..c8f73c0 100755
--- a/calm.sh
+++ b/calm.sh
@@ -1,2 +1,3 @@
#!/usr/bin/env bash
+export PYTHONPATH=$(dirname "$0")
exec python3 -m calm.calm "$@"