pyg
pyg copied to clipboard
Some packages cannot be packed correctly
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.
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.