Summary
.egg-info's installed-files doesn't honor .egg's install-name
Metadata
- Id: bd19968bdfeb8957ffe85c64b44a2a7f8bb2cbf7
- Trac id: 1373
- Type: defect
- Reporter: mario
- Owner:
- Cc:
- Status: closed
- Component: core tools
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: someday
- Version: 5.0.0
- Changetime: 2017-05-28 13:52:49 UTC
- Created: 2017-05-25 14:50:08 UTC
- Keywords:
Description
A .egg file that specifies (components (program foo (install-name bar))) will end up having (installed-files "<prefix>/bin/foo") in the deployed .egg-info file.
Example:
$ ls -l
total 8
-rw-r--r-- 1 mario mario 172 May 25 14:40 foo.egg
-rw-r--r-- 1 mario mario 20 May 25 14:39 foo.scm
$ cat foo.egg
((synopsis "foo egg")
(author "Mario Domenech Goulart")
(license "BSD")
(category egg-tools)
(components (program foo (install-name bar))))
$ cat foo.scm
(display "Hello\n")
$ ~/local/chicken-5/bin/chicken-install
building foo
/home/mario/local/chicken-5/bin/csc -setup-mode -host -I /home/mario/tmp/foo -C -I/home/mario/tmp/foo -O2 -d1 /home/mario/tmp/foo/foo.scm -o /home/mario/tmp/foo/foo
installing foo
$ cat ~/local/chicken-5/lib/chicken/9/foo.egg-info
((installed-files "/home/mario/local/chicken-5/bin/foo")
(synopsis "foo egg")
(author "Mario Domenech Goulart")
(license "BSD")
(category egg-tools)
(components (program foo (install-name bar))))
$ ls -l /home/mario/local/chicken-5/bin/foo
ls: cannot access /home/mario/local/chicken-5/bin/foo: No such file or directory
$ ls -l /home/mario/local/chicken-5/bin/bar
-rwxr-xr-x 1 mario mario 11768 May 25 14:47 /home/mario/local/chicken-5/bin/bar
Changes and comments
[2017-05-28 13:52:49 UTC] LemonBoy changed status from new to closed
[2017-05-28 13:52:49 UTC] LemonBoy set resolution to fixed
[2017-05-28 13:52:49 UTC] LemonBoy wrote:
Closed by 9a7d2ea3cf2708af43f8adadbb1bc6334b56f897