Skip to content

Commit d878414

Browse files
osherdperanco74
authored andcommitted
Support wheels distribution
Seems like the comment about data files not being included in wheels when using full paths is no longer true. The check I've done is making sure the completion output still works when installing the wheel files, which seems to work. In addition, it produces warnings that the legacy installation method will get deprecated soon: ``` DEPRECATION: strato-skipper was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. pip 23.1 will enforce this behaviour change. ```
1 parent 2607905 commit d878414

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

setup.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
import os
2-
import sys
31
from setuptools import setup
42

5-
# Workaround: bdist_wheel doesn't support absolute paths in data_files
6-
# (see: https://bitbucket.org/pypa/wheel/issues/92).
7-
if os.getuid() == 0 and 'bdist_wheel' in sys.argv:
8-
raise RuntimeError("This setup.py does not support wheels")
9-
103
setup(
114
setup_requires=[
125
'pbr >= 1.9',

0 commit comments

Comments
 (0)