diff options
author | Tarek Ziade <tarek@ziade.org> | 2011-06-02 10:00:44 (GMT) |
---|---|---|
committer | Tarek Ziade <tarek@ziade.org> | 2011-06-02 10:00:44 (GMT) |
commit | 721ccd0ce128234a3a4fb703f056154c4b9a9e36 (patch) | |
tree | 02c72dcb282518956fbcc57519f3e91dbc13553a /Lib/packaging/util.py | |
parent | ab244398ba03f260b8daeefe7bf93b2067a77a8e (diff) | |
download | cpython-721ccd0ce128234a3a4fb703f056154c4b9a9e36.zip cpython-721ccd0ce128234a3a4fb703f056154c4b9a9e36.tar.gz cpython-721ccd0ce128234a3a4fb703f056154c4b9a9e36.tar.bz2 |
added the generate-setup action
Diffstat (limited to 'Lib/packaging/util.py')
-rw-r--r-- | Lib/packaging/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/util.py b/Lib/packaging/util.py index e839320..4e5bd2c 100644 --- a/Lib/packaging/util.py +++ b/Lib/packaging/util.py @@ -1087,7 +1087,7 @@ def generate_setup_py(): Raises a PackagingFileError when a setup.py already exists. """ if os.path.exists("setup.py"): - raise PackagingFileError("a setup.py file alreadyexists") + raise PackagingFileError("a setup.py file already exists") with open("setup.py", "w", encoding='utf-8') as fp: fp.write(_SETUP_TMPL % {'func': getsource(cfg_to_args)}) |