Skip to content

Commit

Permalink
Add explanatory comment about generated setup.py scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Apr 7, 2020
1 parent 28d74f5 commit 8ed3317
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flit/sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

log = logging.getLogger(__name__)

# Our generated setup.py deliberately loads distutils, not setuptools, to
# discourage running it directly and getting a setuptools mess. Tools like pip
# handle this correctly - loading setuptools anyway but avoiding its issues.

SETUP = """\
#!/usr/bin/env python
# setup.py generated by flit for tools that don't yet use PEP 517
Expand Down

0 comments on commit 8ed3317

Please sign in to comment.