Skip to content

Commit a3fb33a

Browse files
committed
clean up unused file and clean up environment.yml
Signed-off-by: Jose Borreguero <[email protected]>
1 parent 29750e0 commit a3fb33a

19 files changed

+1506
-340
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22

33
build:
4-
os: ubuntu-20.04
4+
os: ubuntu-22.04
55
tools:
66
python: "mambaforge-4.10"
77

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,8 @@ After you create a new repository using this repo as template, please follow the
6060
8.5 Python is moving away from `setup.cfg`/`setup.py`, and we would like to follow the trend for our new projects.
6161

6262

63-
9. Specify package name at src/packagenamepy
63+
9. Specify package name at src/usansred
6464

6565

66-
10. Specify package name at: src/packagenamepy/packagename.py
67-
68-
11. If a GUI isn't used, delete the MVP structure at src/packagenamepy:
69-
11.1: mainwindow.py
70-
11.2: home/
71-
11.3: help/
72-
7366

7467
11. Clear the content of this file and add your own README.md as the project README file. We recommend putting badges of the project status at the top of the README file. For more information about badges, please refer to [shields.io](https://shields.io/).

environment.yml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,21 @@
1-
name: mypythonapp
1+
name: usansred
22
channels:
3+
- mantid/label/main
34
- conda-forge
5+
- defaults
46
dependencies:
5-
# -- Runtime dependencies
6-
# base: list all base dependencies here
7-
- python>=3.8 # please specify the mimimum version of python here
7+
- python=3.10
88
- versioningit
9-
# compute: list all compute dependencies here
10-
- numpy
9+
- mantid=6.8.0
10+
- scipy
1111
- pandas
12-
# plot: list all plot dependencies here, if applicable
1312
- matplotlib
14-
# jupyter: list all jupyter dependencies here, if applicable
15-
- jupyterlab
16-
- ipympl
17-
# -- Development dependencies
18-
# utils:
13+
# Development dependencies
1914
- pre-commit
20-
# pacakge building:
2115
- boa
2216
- conda-build < 4 # conda-build 24.x has a bug, missing update_index from conda_build.index
2317
- conda-verify
2418
- python-build
25-
# test: list all test dependencies here
2619
- pytest
2720
- pytest-cov
2821
- pytest-xdist
29-
# --------------------------------------------------
30-
# add additional sections such as Qt, etc. if needed
31-
# --------------------------------------------------
32-
# if pakcages are not available on conda, list them here
33-
- pip
34-
- pip:
35-
- bm3d-streak-removal # example
36-
- pytest-playwright

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "examplepyapp"
2+
name = "usansred"
33
description = "Example Python repo for neutrons"
44
dynamic = ["version"]
55
requires-python = ">=3.10"
@@ -36,7 +36,7 @@ dirty = "{version}+d{build_date:%Y%m%d}"
3636
distance-dirty = "{next_version}.dev{distance}+d{build_date:%Y%m%d%H%M}"
3737

3838
[tool.versioningit.write]
39-
file = "src/packagenamepy/_version.py"
39+
file = "src/usansred/_version.py"
4040

4141
[tool.setuptools.packages.find]
4242
where = ["src"]
@@ -46,7 +46,7 @@ exclude = ["tests*", "scripts*", "docs*", "notebooks*"]
4646
"*" = ["*.yml","*.yaml","*.ini"]
4747

4848
[project.gui-scripts]
49-
packagenamepy = "packagenamepy.packagename:gui"
49+
usansred = "usansred.usansred:gui"
5050

5151

5252
[tool.pytest.ini_options]

src/packagenamepy/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/packagenamepy/configuration.py

Lines changed: 0 additions & 106 deletions
This file was deleted.

src/packagenamepy/configuration_template.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/packagenamepy/help/help_model.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/packagenamepy/home/home_model.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/packagenamepy/home/home_presenter.py

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)