File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ Documentation
45
45
46
46
Internal Changes
47
47
~~~~~~~~~~~~~~~~
48
+ - Fix ``pip install . `` when no ``.git `` directory exists; namely when the xarray source
49
+ directory has been rsync'ed by PyCharm Professional for a remote deployment over SSH.
50
+ By `Guido Imperiale <https://github.com/crusaderky >`_
48
51
- Only load resource files when running inside a Jupyter Notebook
49
52
(:issue: `4294 `) By `Guido Imperiale <https://github.com/crusaderky >`_
50
53
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
from setuptools import setup
3
3
4
- setup (use_scm_version = True )
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" )
You can’t perform that action at this time.
0 commit comments