Entry point should be compatible with setuptools

Bug #396853 reported by Sidnei da Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Commandant
Confirmed
Low
Unassigned

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)
Changed in commandant:
milestone: none → 0.2.0
Revision history for this message
Jamu Kakar (jkakar) wrote :

Sidnei:

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)
Changed in commandant:
milestone: 0.3.0 → 0.4.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.