-
-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prliminary test using wrappers #267
Conversation
@wkerzendorf Could you have a look at this and tell me how can go about building the extension as it doesn't seem to build this way ? |
@vaibhav4595 a little bit more information would be helpful - tracebacks, building console output, etc. |
@wkerzendorf After I initialised into file ....then I ran python setup.py develop....then I had the following error...... |
a couple of comments:
let me know how it goes. |
https://gist.github.com/vaibhav4595/087bcfb941ab3b524ad7 @wkerzendorf I am still unable to figure this out...here is the whole output that I had when I ran python setup.py develop....and then I also tried looking at the location of Cython....which is also included in the above gist...... |
Yes there is an astropy issue - but the solution is also posted in there: make sure cython is installed! |
@wkerzendorf I have got it fixed now. Cython was already installed but the path was different from what it was using. Installed it again under the anaconda environment by extracting the source files and then running the install. Thank you for your patience. I think now I have the basic hold of how to write tests for the C part of the code now. |
@wkerzendorf Do have a look at the latest commit...I have just tried a basic method which seems to be running well...though this is just a very simple way of handling things...I believe this is the way to head for creating tests for the C part of the code |
@wkerzendorf I tried just some preliminary tests(for a check). But I was unable to build extensions for the files inside the wrappers directory like the way in which extensions get built for the montecarlo files using montecarlo.pyx and setup_package.py. Though I made a setup_package.py for the wrappers extension as well but this did not have built the extensions when I built tardis again.