Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
VAPython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
VAPython
Commits
a9b97194
Commit
a9b97194
authored
Aug 22, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying to parse arguments
parent
fcd73dd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
distutils_build.bat
distutils_build.bat
+6
-2
src/vasingleton.cpp
src/vasingleton.cpp
+8
-1
No files found.
distutils_build.bat
View file @
a9b97194
python
.exe
setup
.py
build
--force
python
.exe
setup
.py
clean
python
.exe
setup
.py
build
python
.exe
setup
.py
install
--prefix
dist
python
.exe
setup
.py
sdist
--formats
=
zip
\ No newline at end of file
python
.exe
setup
.py
sdist
--formats
=
zip
#
later
:
#python.exe
setup
.py
bdist_wininst
python
.exe
setup
.py
check
src/vasingleton.cpp
View file @
a9b97194
#include <Python.h>
#include "vasingletondoc.hpp"
// All Python 2 VA methods. Also pulls in g_pVAError (Python error trace instance)
#include "vasingletonmethods.hpp"
// VA methods that will appear in Python if they are added to the following table
...
...
@@ -175,5 +177,10 @@ static struct PyModuleDef vamoduledef =
PyMODINIT_FUNC
PyInit_va
(
void
)
{
return
PyModule_Create
(
&
vamoduledef
);
PyObject
*
pModule
=
PyModule_Create
(
&
vamoduledef
);
g_pVAError
=
PyErr_NewException
(
"va.error"
,
NULL
,
NULL
);
Py_INCREF
(
g_pVAError
);
//PyAdd
return
pModule
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment