Skip to content
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

Installer is shipping some pyc without related py #6880

Closed
mantid-builder opened this issue Oct 29, 2012 · 1 comment
Closed

Installer is shipping some pyc without related py #6880

mantid-builder opened this issue Oct 29, 2012 · 1 comment
Assignees
Labels
Low Priority Things that you don't ever want to be done.
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Gesner Passos

I've generated a script that list all the mismatches. They are all related to the script/Interface/templates that should not distribute the pyc files.

But, some pyc files are being distributed without their counterpart py files, they are:

  • plugins/PythonAlgs/FindCurrentLiveNexusFile.pyc
  • plugins/PythonAlgs/GenerateMaskWorkspace.pyc
  • plugins/PythonAlgs/InvertMask.pyc
  • plugins/PythonAlgs/Stitch1D.pyc
  • scripts/Reflectometry/Quick.pyc

Test done inside Ubuntu 12.4 - download: mantid_2.2_1080_amd64.deb

For Windows 7, other than those seem in Ubuntu, it has some extra pyc, as well,

scripts/Inelastic/osiris_diffraction_reducer.pyc

And inside plugins/PythonAlgs:

  • FindSNSNeXus.pyc
  • RefMReduction.pyc
  • SNSPowderReduction2.pyc
  • WorkflowAlgorithms/ReflectivityReduction.pyc
  • WorkflowAlgorithms/RefLoad.pyc

Related to re http://trac.mantidproject.org/mantid/ticket/5192

In order to check for Ubuntu:

cd /opt/Mantid
find . -name *.py | sort > all_py
find . -name *.pyc| sort | sed 's/pyc/py' > all_py_noc
diff all_py all_py_noc
@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 6034

@mantid-builder mantid-builder added Low Priority Things that you don't ever want to be done. Mantid labels Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 2.4 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low Priority Things that you don't ever want to be done.
Projects
None yet
Development

No branches or pull requests

2 participants