mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
Better experience using "pip install -U ."
This commit is contained in:
parent
82d06c3032
commit
4c03738938
1 changed files with 11 additions and 3 deletions
10
setup.py
10
setup.py
|
|
@ -30,9 +30,17 @@ package_dir = {"": "src"}
|
|||
|
||||
|
||||
if any(arg.startswith("bdist") for arg in sys.argv):
|
||||
try:
|
||||
import lib3to6
|
||||
|
||||
package_dir = lib3to6.fix(package_dir)
|
||||
except ImportError:
|
||||
if sys.version_info < (3, 6):
|
||||
raise
|
||||
else:
|
||||
sys.stderr.write((
|
||||
"WARNING: Creating non-universal bdist of pycalver, "
|
||||
"this should only be used for development.\n"
|
||||
))
|
||||
|
||||
|
||||
long_description = "\n\n".join((read("README.md"), read("CHANGELOG.md")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue