Skip to content

Commit

Permalink
Merge pull request #1087 from woutdenolf/src_layout
Browse files Browse the repository at this point in the history
Src layout
  • Loading branch information
vasole authored Aug 14, 2024
2 parents 345b135 + ad97f1f commit 6742fc1
Show file tree
Hide file tree
Showing 757 changed files with 170 additions and 102 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ coverage.xml
docs/_build/

# cython generated files
PyMca5/PyMcaGraph/ctools/_ctools/cython/*.c
PyMca5/PyMcaPhysics/xas/_xas/cython/*.c
src/PyMca5/PyMcaGraph/ctools/_ctools/cython/*.c
src/PyMca5/PyMcaPhysics/xas/_xas/cython/*.c

# PyCharm meta data
.idea/
Expand Down
28 changes: 28 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Contributing
============

Developers installation
-----------------------

Editable install with all requirements

.. code:: bash
pip install -r requirements.txt -e .
Start the main application

.. code:: bash
pymca
or using the module directly

.. code:: bash
python -m PyMca5.PyMcaGui.pymca.PyMcaMain
Deployment
----------

TODO
42 changes: 21 additions & 21 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@ include requirements.txt
recursive-include doc *.py *.rst *.html *.ico *.png *.jpg
recursive-include doc/man *.1
recursive-include icons *.icns *.ico *_256x256.png
recursive-include PyMca5/EPDL97 *.DAT
include PyMca5/EPDL97/LICENSE
recursive-include PyMca5/PyMca *.py
recursive-include PyMca5/PyMcaCore *.py
recursive-include PyMca5/PyMcaData *.dict *.dat *.cfg *.png *.mat *.html *.pdf *.xml *.gif *.wmz *.mso *.DICT *.TXT *.lib *.mca *.spe
recursive-include PyMca5/PyMcaGraph *.py *.pyx *.pxd *.c *.h
recursive-include PyMca5/PyMcaGui *.py
recursive-include PyMca5/PyMcaIO *.py *.c *.h *.in
include PyMca5/PyMcaIO/sps/LICENSE
recursive-include PyMca5/PyMcaMath *.py *.c *.cl
include PyMca5/PyMcaMath/mva/py_nnma/LICENSE
include PyMca5/PyMcaMath/mva/py_nnma/README
include PyMca5/PyMcaMath/mva/_cython_kmeans/kmeans.pyx
include PyMca5/PyMcaMath/mva/_cython_kmeans/default/kmeans.c
include PyMca5/PyMcaMath/PyMcaSciPy/signal/LICENSE.txt
recursive-include PyMca5/PyMcaMisc *.py
recursive-include PyMca5/PyMcaPhysics *.py
recursive-include PyMca5/PyMcaPhysics/xas *.pyx *.pxd *.c *.h
recursive-include PyMca5/PyMcaPlugins *.py
recursive-include PyMca5/scripts *
recursive-include PyMca5/tests *.py
recursive-include src/PyMca5/EPDL97 *.DAT
include src/PyMca5/EPDL97/LICENSE
recursive-include src/PyMca5/PyMca *.py
recursive-include src/PyMca5/PyMcaCore *.py
recursive-include src/PyMca5/PyMcaData *.dict *.dat *.cfg *.png *.mat *.html *.pdf *.xml *.gif *.wmz *.mso *.DICT *.TXT *.lib *.mca *.spe
recursive-include src/PyMca5/PyMcaGraph *.py *.pyx *.pxd *.c *.h
recursive-include src/PyMca5/PyMcaGui *.py
recursive-include src/PyMca5/PyMcaIO *.py *.c *.h *.in
include src/PyMca5/PyMcaIO/sps/LICENSE
recursive-include src/PyMca5/PyMcaMath *.py *.c *.cl
include src/PyMca5/PyMcaMath/mva/py_nnma/LICENSE
include src/PyMca5/PyMcaMath/mva/py_nnma/README
include src/PyMca5/PyMcaMath/mva/_cython_kmeans/kmeans.pyx
include src/PyMca5/PyMcaMath/mva/_cython_kmeans/default/kmeans.c
include src/PyMca5/PyMcaMath/PyMcaSciPy/signal/LICENSE.txt
recursive-include src/PyMca5/PyMcaMisc *.py
recursive-include src/PyMca5/PyMcaPhysics *.py
recursive-include src/PyMca5/PyMcaPhysics/xas *.pyx *.pxd *.c *.h
recursive-include src/PyMca5/PyMcaPlugins *.py
recursive-include src/PyMca5/scripts *
recursive-include src/PyMca5/tests *.py
recursive-include scripts *.py *.bat
recursive-include package *
2 changes: 1 addition & 1 deletion package/py2app/py2app_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
BUNDLE_ICON = os.path.join(os.path.abspath('icons'), 'PyMca.icns')

#obtain the current PyMca version from the source file
ffile = open(os.path.join('PyMca5', '__init__.py'), 'r').readlines()
ffile = open(os.path.join('src', 'PyMca5', '__init__.py'), 'r').readlines()
for line in ffile:
if line.startswith('__version__'):
#remove spaces and split
Expand Down
Loading

0 comments on commit 6742fc1

Please sign in to comment.