EPICS-synApps / support

APS BCDA synApps module: support
http://epics-synapps.github.io/support/
Other
3 stars 12 forks source link

create new installation wheel #24

Closed prjemian closed 2 years ago

prjemian commented 2 years ago

Fixed a couple problems (8a447dd2 & d09e753) that raised exceptions for Python 3. Commit message describes each problem.

prjemian commented 2 years ago

Which files have the version info?

(tiled) prjemian@zap:~/.../EPICS-synApps/utils$ git grep "2\.1" | grep -i version
mdaExplorer/mda.py:# version 2.1 Tim Mooney 2/15/2012
mdaExplorer/mda.py:__version__ = '2.1'
mdaPythonUtils/mda.py:# version 2.1 Tim Mooney 2/15/2012
mdaPythonUtils/mda.py:__version__ = '2.1'

This one: mdaPythonUtils/mda.py which should be copied to mdaExplorer/mda.py

Note also:

mdaPythonUtils/setup.py:    version='2013-02'

So, also change the version in mdaPythonUtils/setup.py at the same time. To 2022-09.

keenanlang commented 2 years ago

Note from the top-level README:

Currently Deprecated This is an old version of this support. All history has been merged into the EPICS-synApps/support repo (https://github.com/EPICS-synApps/support) as of Feb 2, 2021.

prjemian commented 2 years ago

Moving this issue from utils to support repo.

prjemian commented 2 years ago

Need to revise the tiled-demo for this change.

prjemian commented 2 years ago

version info:

(tiled) prjemian@zap:~/.../EPICS-synApps/support$ git grep "2\.1" | grep -i version
documentation/synApps.html:         <li>the sequencer (version 2.1) uses re2c, which is not a standard part of
documentation/synAppsReleaseNotes.html:<li>Modified for serial-protocol version 2.1.
utils/mdaExplorer/mda.py:# version 2.1 Tim Mooney 2/15/2012
utils/mdaExplorer/mda.py:__version__ = '2.1'
utils/mdaPythonUtils/mda.py:# version 2.1 Tim Mooney 2/15/2012
utils/mdaPythonUtils/mda.py:__version__ = '2.1'
prjemian commented 2 years ago

@keenanlang Must we keep this line? https://github.com/EPICS-synApps/support/blob/a94b312d8fe90106217968b3afdee34ff770c33d/.gitignore#L43

git add -f can be used to override in the mean time

prjemian commented 2 years ago

Follow the previous steps:

cd /tmp
git clone https://github.com/EPICS-synApps/support
cd support/utils/mdaPythonUtils
git checkout 24-new-mdalib-wheel
python setup.py bdist_wheel --universal

then copy the new wheel file (dist/mdalib-2022.post9-py2.py3-none-any.whl) back to this repo, commit and push.

keenanlang commented 2 years ago

@keenanlang Must we keep this line?

https://github.com/EPICS-synApps/support/blob/a94b312d8fe90106217968b3afdee34ff770c33d/.gitignore#L43

git add -f can be used to override in the mean time

changed with 3447588