We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e9af14 commit 80bebf7Copy full SHA for 80bebf7
python/setup.py
@@ -27,6 +27,7 @@
27
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29
from setuptools import setup, find_packages
30
+import sys
31
32
# Parse version file to extract __version__ value
33
bifrost_version_file = 'bifrost/version.py'
@@ -41,6 +42,8 @@
41
42
__version__ = ''.join([c for c in __version__
43
if c.isalnum() or c in ".-_"])
44
except IOError:
45
+ if 'clean' in sys.argv[1:]:
46
+ sys.exit(0)
47
print "*************************************************************************"
48
print "Please run `make` from the root of the source tree to generate version.py"
49
0 commit comments