pyg icon indicating copy to clipboard operation
pyg copied to clipboard

Some packages cannot be packed correctly

Open rubik opened this issue 13 years ago • 1 comments

Some packages, like Django, keep their scripts in a separate scripts directory, and the entry_points.txt files is empty. So when you pyg pack it, it doesn't have the django-admin.py top-level file (you would have to call it from the scripts directory inside the egg). Pyg should look for scripts in the scripts directory too.

EDIT: That's completely wrong. Scripts aren't in a scripts directory, but somewhere in the package. The problem is Django uses distutils, and distutils wants scripts declared in setup() as scripts=['blabla', 'bla']. But when we create egg info, distutils does not create entry_points.txt file. That's the problem.

rubik avatar Aug 27 '11 07:08 rubik

That's completely wrong. Scripts aren't in a scripts directory, but somewhere in the package. The problem is Django uses distutils, and distutils wants scripts declared in setup() as scripts=['blabla', 'bla']. But when we create egg info, distutils does not create entry_points.txt file. That's the problem.

rubik avatar Sep 16 '11 12:09 rubik