-
Notifications
You must be signed in to change notification settings - Fork 54
python:Change options for MDSplus setup.py to install all of package contents #2618
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| from setuptools import setup | ||
|
|
||
| setup( | ||
| name='MDSplus', | ||
| version='7.139.40', | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'll need to pull the version either from a file or from the git tags
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am open to suggestions. Preferably this can be something dynamic, but filled in when a release is made. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps |
||
| description='MDSplus Python Objects', | ||
| url='https://gafusion.github.io/omas', | ||
|
smithsp marked this conversation as resolved.
Outdated
|
||
| author='MDSplus Developers', | ||
| license='MIT', | ||
| classifiers=['License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3'], | ||
| keywords=['physics', 'mdsplus', ], | ||
| long_description=( | ||
| "This module provides all of the functionality of MDSplus TDI natively in python.\n" | ||
| "All of the MDSplus data types such as signal are represented as python classes.\n" | ||
| ), | ||
| packages=['MDSplus'], | ||
| package_data={'MDSplus':['*.py']}, | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,7 +28,7 @@ cat << EOF_BEFORE | |
| struct fun { int name; int idx; }; | ||
| %% | ||
| EOF_BEFORE | ||
| gcc -Iinclude -E -x c - << EOF_LIST |sed 's/#.*$//;/^$/d' | ||
| ${CC:-gcc} -Iinclude -E -x c - << EOF_LIST |sed 's/#.*$//;/^$/d' | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thankfully, this will be improved in the switch to CMake |
||
| #define COM | ||
| #define OPC(name, cmd,...) cmd,__LINE__-25 | ||
| #include <opcbuiltins.h> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can probably just delete this file entirely