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 6f3d02d commit b437364Copy full SHA for b437364
setup.py
@@ -3,7 +3,7 @@
3
import platform
4
from setuptools import find_packages
5
from skbuild import setup
6
-
+
7
# Require pytest-runner only when running tests
8
pytest_runner = (['pytest-runner>=2.0,<3dev']
9
if any(arg in sys.argv for arg in ('pytest', 'test'))
@@ -15,6 +15,10 @@
15
# ('lib',['src/mixin/mixin.so']),
16
]
17
18
+data = []
19
+if platform.system() == 'Windows':
20
+ data.append("mixin.dll")
21
22
version = platform.python_version_tuple()
23
version = '%s.%s' % (version[0], version[1])
24
@@ -27,7 +31,7 @@
27
31
license="GPL-3.0",
28
32
packages=['pymixin'],
29
33
package_dir={'pymixin': 'pysrc'},
30
- package_data={'pymixin': []},
34
+ package_data={'pymixin': data},
35
data_files = data_files,
36
scripts=[],
37
install_requires=[
0 commit comments