Skip to content

Commit 37e766f

Browse files
author
Russell Manser
committed
Merge branch 'master' of https://github.com/pydata/xarray into issue4208
2 parents aacef50 + 2bc8e33 commit 37e766f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

setup.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
#!/usr/bin/env python
22
from setuptools import setup
33

4-
try:
5-
setup(use_scm_version=True)
6-
except LookupError as e:
7-
# .git has been removed, and this is not a package created by sdist
8-
# This is the case e.g. of a remote deployment with PyCharm Professional
9-
if not str(e).startswith("setuptools-scm was unable to detect version"):
10-
raise
11-
setup(version="999")
4+
setup(use_scm_version={"fallback_version": "999"})

0 commit comments

Comments
 (0)