causal-conv1d 1.0.0__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/PKG-INFO +1 -1
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/causal_conv1d/__init__.py +1 -1
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/causal_conv1d.egg-info/PKG-INFO +1 -1
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/causal_conv1d.egg-info/requires.txt +1 -0
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/setup.py +4 -2
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/AUTHORS +0 -0
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/LICENSE +0 -0
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/README.md +0 -0
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/causal_conv1d/causal_conv1d_interface.py +0 -0
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/causal_conv1d.egg-info/SOURCES.txt +0 -0
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/causal_conv1d.egg-info/dependency_links.txt +0 -0
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/causal_conv1d.egg-info/top_level.txt +0 -0
- {causal_conv1d-1.0.0 → causal_conv1d-1.0.1}/setup.cfg +0 -0
@@ -3,6 +3,7 @@ import sys
|
|
3
3
|
import warnings
|
4
4
|
import os
|
5
5
|
import re
|
6
|
+
import shutil
|
6
7
|
import ast
|
7
8
|
from pathlib import Path
|
8
9
|
from packaging.version import parse, Version
|
@@ -147,7 +148,7 @@ if not SKIP_CUDA_BUILD:
|
|
147
148
|
+ cc_flag
|
148
149
|
),
|
149
150
|
},
|
150
|
-
include_dirs=[this_dir],
|
151
|
+
include_dirs=[Path(this_dir) / "csrc" / "causal_conv1d"],
|
151
152
|
)
|
152
153
|
)
|
153
154
|
|
@@ -216,7 +217,7 @@ class CachedWheelsCommand(_bdist_wheel):
|
|
216
217
|
|
217
218
|
wheel_path = os.path.join(self.dist_dir, archive_basename + ".whl")
|
218
219
|
print("Raw wheel path", wheel_path)
|
219
|
-
|
220
|
+
shutil.move(wheel_filename, wheel_path)
|
220
221
|
except urllib.error.HTTPError:
|
221
222
|
print("Precompiled wheel not found. Building from source...")
|
222
223
|
# If the wheel could not be downloaded, build from source
|
@@ -259,6 +260,7 @@ setup(
|
|
259
260
|
install_requires=[
|
260
261
|
"torch",
|
261
262
|
"packaging",
|
263
|
+
"buildtools",
|
262
264
|
"ninja",
|
263
265
|
],
|
264
266
|
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|