https://bugzilla.wikimedia.org/show_bug.cgi?id=55583

       Web browser: ---
            Bug ID: 55583
           Summary: Generate user config files at runtime, not install
                    time
           Product: Pywikibot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I'm packaging pywikibot for Arch Linux here:
https://aur.archlinux.org/packages/python2-pywikibot-git/

Packing software for distribution means that install scripts might be run by a
different person than the user. Install scripts are not the place for user
config, and it's also bad practice to force ANY interactive configs at that
stage.

Please don't run generate_user_files.py from setup.py. Find some way to do this
at runtime.

Or, ideally, to behave sanely with no configs at all.

At the moment we are just providing a sample config for users to edit, and
doing: sed -i /generate_user_files.py/Id setup.py

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to