Skip to content

Commit

Permalink
Renaming library for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesArruda committed Dec 10, 2024
1 parent fc3ab71 commit 0079fb8
Show file tree
Hide file tree
Showing 104 changed files with 9,823 additions and 9,807 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: pip install .[docs]
- name: Build autodocs
run: sphinx-apidoc -o ./docs/source ./src/upstage ./src/upstage/test
run: sphinx-apidoc -o ./docs/source ./src/upstage_des ./src/upstage_des/test
- name: Sphinx build
run: sphinx-build -b html docs/source _build
- name: Deploy to GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- name: Run Ruff linter
run: ruff check --output-format=github src
- name: Run mypy
run: mypy --show-error-codes -p upstage
run: mypy --show-error-codes -p upstage_des
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/upstage-des # Replace <package-name> with your PyPI project name
url: https://pypi.org/p/upstage-des
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ python -m pip install --upgrade pip
Next, clone the repo locally:

```bash
cd /path/to/upstage_dev
cd /path/to/upstage_des
git clone https://github.com/gtri/upstage.git
cd upstage
```
Expand Down Expand Up @@ -64,12 +64,12 @@ pyproject-fmt pyproject.toml
ssort src
ruff format src
ruff check --fix src
mypy --show-error-codes -p upstage
mypy --show-error-codes -p upstage_des
```

### Testing

To run the unit tests in `src/upstage/test`, run:
To run the unit tests in `src/upstage_des/test`, run:

```bash
pytest
Expand All @@ -86,7 +86,7 @@ Documentation is built from autodocs first, then the source build.
From the top level of the repo:

```bash
sphinx-apidoc -o ./docs/source ./src/upstage ./src/upstage/test
sphinx-apidoc -o ./docs/source ./src/upstage_des ./src/upstage_des/test
sphinx-build -b html ./docs/source ./build/docs
```

Expand Down
8 changes: 4 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@

from datetime import datetime

import upstage
import upstage_des

sys.path.insert(0, os.path.abspath("../../src"))

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/mast er/usage/configuration.html#project-information

project = "UPSTAGE"
copyright = f"{datetime.now().year}, {upstage.__authors__}"
author = upstage.__authors__
release = upstage.__version__
copyright = f"{datetime.now().year}, {upstage_des.__authors__}"
author = upstage_des.__authors__
release = upstage_des.__version__

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion docs/source/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ UPSTAGE API
.. toctree::
:maxdepth: 3

upstage
upstage_des
29 changes: 0 additions & 29 deletions docs/source/upstage.communications.rst

This file was deleted.

45 changes: 0 additions & 45 deletions docs/source/upstage.geography.rst

This file was deleted.

53 changes: 0 additions & 53 deletions docs/source/upstage.motion.rst

This file was deleted.

45 changes: 0 additions & 45 deletions docs/source/upstage.resources.rst

This file was deleted.

129 changes: 0 additions & 129 deletions docs/source/upstage.rst

This file was deleted.

Loading

0 comments on commit 0079fb8

Please sign in to comment.