Skip to content

Commit fc274fc

Browse files
committed
renamed "HOWTO.TXT" to "technical_details.txt"
fixed space-issue for windows start menu link git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@611 bbaffbd6-741e-11dd-a85d-61de82d9cad9
1 parent fcecc5a commit fc274fc

7 files changed

+9
-11
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
include LICENSE.TXT
2-
include HOWTO.TXT
2+
include technical_details.txt
33
include INSTALL.TXT
44
include COPYING.TXT
55
include README.TXT

debian/patches/00.remove_windows_install_script.patch

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ diff -Nur -x '*.orig' -x '*~' pycam-0.2.2//setup.py pycam-0.2.2.new//setup.py
99
+ scripts = ['pycam'],
1010
data_files=[("share/doc/pycam",[
1111
"COPYING.TXT",
12-
"HOWTO.TXT",

debian/patches/01.remove-superfluous-files-from-doc.patch

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ index 3046304..9f66f6d 100755
55
@@ -45,13 +45,9 @@ setup(
66
],
77
scripts = ['pycam', 'pycam_win32_postinstall.py'],
8-
data_files=[("share/doc/pycam",[
8+
data_files=[("share/pycam/doc",[
99
- "COPYING.TXT",
10-
"HOWTO.TXT",
1110
- "INSTALL.TXT",
1211
- "LICENSE.TXT",
1312
"README.TXT",

pycam_win32_postinstall.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@
4444

4545
# create a start menu item for pycam
4646
PYTHON_EXE = os.path.join(distutils.sysconfig.EXEC_PREFIX, "pythonw.exe")
47-
START_SCRIPT = os.path.join(distutils.sysconfig.EXEC_PREFIX, "Scripts", "pycam")
47+
# surround the start script with quotes to avoid space-issues
48+
START_SCRIPT = "'%s'" % os.path.join(distutils.sysconfig.EXEC_PREFIX, "Scripts", "pycam")
4849

49-
PYTHON_DATA_DIR = os.path.join(distutils.sysconfig.PREFIX, "share", "pycam")
50+
PYTHON_DOC_DIR = os.path.join(distutils.sysconfig.PREFIX, "share", "pycam", "doc")
5051

5152
# add some more doc files
5253
DOC_FILES = [
53-
("HOWTO.TXT", "Introduction"),
5454
("LICENSE.TXT", "License"),
5555
("README.TXT", "Readme")]
5656
WEB_LINKS = [
@@ -59,7 +59,7 @@
5959
(r"http://sourceforge.net/projects/pycam/forums", "Forum Discussions"),
6060
(r"http://sourceforge.net/apps/mediawiki/pycam/", "Wiki")]
6161

62-
MENU_ITEMS = map(lambda v: (os.path.join(PYTHON_DATA_DIR, v[0]), v[1]), DOC_FILES)
62+
MENU_ITEMS = map(lambda v: (os.path.join(PYTHON_DOC_DIR, v[0]), v[1]), DOC_FILES)
6363
MENU_ITEMS.extend(WEB_LINKS)
6464

6565
action = sys.argv[1]

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packager = Lars Kruse <[email protected]>
77
doc_files = Changelog
88
README.TXT
99
INSTALL.TXT
10-
HOWTO.TXT
10+
technical_details.txt
1111
LICENSE.TXT
1212
COPYING.TXT
1313
doc/

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
"pycam.Physics",
7878
],
7979
scripts = ['pycam', 'pycam_win32_postinstall.py'],
80-
data_files=[("share/doc/pycam",[
80+
data_files=[("share/pycam/doc",[
8181
"COPYING.TXT",
82-
"HOWTO.TXT",
82+
"technical_details.txt",
8383
"INSTALL.TXT",
8484
"LICENSE.TXT",
8585
"README.TXT",

HOWTO.TXT technical_details.txt

File renamed without changes.

0 commit comments

Comments
 (0)