File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ __pycache__
1313/venv
1414/dist
1515* .egg-info
16+ /build
1617
1718# binaries
1819* .out
Original file line number Diff line number Diff line change 22import os
33import subprocess
44from setuptools import setup , find_packages , Extension
5+ from setuptools .command .build_py import build_py as _build_py
56
67module_name = "libparse"
78__dir__ = os .path .dirname (os .path .abspath (__file__ ))
2122 extra_compile_args = ["-std=c++11" , "-DFILTERLIB" ],
2223)
2324
25+
26+ class build_py (_build_py ):
27+ def run (self ):
28+ self .run_command ("build_ext" )
29+ return super ().run ()
30+
2431setup (
2532 name = module_name ,
2633 packages = find_packages (),
27- version = "0.1.2 " ,
34+ version = "0.1.3 " ,
2835 description = "Python wrapper around Yosys' libparse module" ,
2936 long_description = open ("Readme.md" ).read (),
3037 long_description_content_type = "text/markdown" ,
4047 ],
4148 python_requires = ">3.6" ,
4249 ext_modules = [ext ],
50+ build_py = build_py ,
4351)
You can’t perform that action at this time.
0 commit comments