1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-18 03:00:42 -04:00
ports/devel/py-setuptools_scm_git_archive/files/patch-setup.py
Li-Wen Hsu ab50fc3abf Add devel/py-setuptools_scm_git_archive, Python setuptools_scm plugin for git
archives

PR:		228027
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
2018-12-16 18:21:08 +00:00

12 lines
340 B
Python

--- setup.py.orig 2015-11-29 14:26:35 UTC
+++ setup.py
@@ -26,9 +26,4 @@ meta = dict(
# Clean up first, old eggs seem to confuse setuptools_scm
rmtree(meta['name']+'.egg-info', ignore_errors=True)
-# Bootstrap
-if not isdir('.git'):
- setup(version='0', **meta)
- working_set.add_entry('.')
-
setup(use_scm_version=True, **meta)