Entry point should be compatible with setuptools

Bug #396853 reported by Sidnei da Silva on 2009-07-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

commandant.entry_point cannot be used as a real setuptools entry point, since it takes arguments unconditionally. Entry points need to take arguments at least conditionally, and introspect sys.argv if not passed arguments. Also, it should be declared as a console_script in setup.py

Jamu Kakar (jkakar) on 2009-07-12
Changed in commandant:
milestone: none → 0.2.0
Jamu Kakar (jkakar) wrote :


Thanks a lot for the bug report. The entry point has to take
argument unconditionally, because they get passed to whatever
command is being run. Do you have any advice on what to do about
this issue?

summary: - commandant.entry_point - not really
+ Entry point should be compatible with setuptools
Changed in commandant:
importance: Undecided → Low
status: New → Confirmed
Jamu Kakar (jkakar) on 2009-12-27
Changed in commandant:
milestone: 0.3.0 → 0.4.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers