8000
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 7f5efd1 commit dae1a38Copy full SHA for dae1a38
numpy/distutils/command/egg_info.py
@@ -1,9 +1,17 @@
1
from __future__ import division, absolute_import, print_function
2
3
+import sys
4
+
5
from setuptools.command.egg_info import egg_info as _egg_info
6
7
class egg_info(_egg_info):
8
def run(self):
9
+ if 'sdist' in sys.argv:
10
+ import warnings
11
+ warnings.warn("`build_src` is being run, this may lead to missing "
12
+ "files in your sdist! See numpy issue gh-7127 for "
13
+ "details", UserWarning)
14
15
# We need to ensure that build_src has been executed in order to give
16
# setuptools' egg_info command real filenames instead of functions which
17
# generate files.
0 commit comments