projects
/
pysvrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb93f3a
)
Cleaning up.
author
Francois Fleuret
<francois@fleuret.org>
Thu, 15 Jun 2017 12:38:18 +0000
(14:38 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Thu, 15 Jun 2017 12:38:18 +0000
(14:38 +0200)
build.py
patch
|
blob
|
history
diff --git
a/build.py
b/build.py
index
da18d39
..
1de39c6
100755
(executable)
--- a/
build.py
+++ b/
build.py
@@
-21,10
+21,10
@@
# You should have received a copy of the GNU General Public License
# along with selector. If not, see <http://www.gnu.org/licenses/>.
-import os
+from os import path
from torch.utils.ffi import create_extension
-abs_path =
os.path.dirname(os.
path.abspath(__file__))
+abs_path =
path.dirname(
path.abspath(__file__))
ffi = create_extension(
'svrt',
@@
-37,5
+37,4
@@
ffi = create_extension(
with_cuda = False
)
-if __name__ == '__main__':
- ffi.build()
+ffi.build()