Skip to content
Snippets Groups Projects
Commit 785deb2d authored by Christian Koernig's avatar Christian Koernig
Browse files

Fixed setup.py, removed autogenerated files from tracking, updated

gitignore
parent 7778752a
No related branches found
No related tags found
No related merge requests found
......@@ -5,5 +5,5 @@ build
.vscode
# do not include the autogenerated SWIG files
python/AmptekHardwareInterface.py
python/AmptekHardwareInterface_wrap.cpp
python/amptek_hardware_interface/AmptekHardwareInterface.py
python/amptek_hardware_interface/AmptekHardwareInterface_wrap.cpp
This diff is collapsed.
This diff is collapsed.
......@@ -13,7 +13,7 @@ try:
except AttributeError:
numpy_include = numpy.get_numpy_include()
# HexitecIO extension module
_AmptekHardwareInterface = Extension("_AmptekHardwareInterface",
_AmptekHardwareInterface = Extension("amptek_hardware_interface._AmptekHardwareInterface",
["python/amptek_hardware_interface/AmptekHardwareInterface.i",] + ["src/" + f for f in os.listdir("src") if os.path.isfile("src/" + f)],
include_dirs = [numpy_include, "include"],
swig_opts=['-c++',"-modern", "-nomodernargs" ],
......@@ -22,7 +22,7 @@ _AmptekHardwareInterface = Extension("_AmptekHardwareInterface",
)
# NumyTypemapTests setup
setup( name = "AmptekHardwareInterface function",
setup( name = "AmptekHardwareInterface",
description = "Implementation of the Amptek DP5 Protocol",
package_dir = {"amptek_hardware_interface": "python/amptek_hardware_interface"},
packages = ["amptek_hardware_interface"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment