Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
djmannion committed Feb 24, 2024
1 parent 85125a4 commit 9e0ad92
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 77 deletions.
76 changes: 0 additions & 76 deletions .github/workflows/publish-to-test-pypi.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ __pycache__/
*.pyo
*egg-info
build/
dist/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 0.2 (24/2/2024)

* Initial release
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,29 @@ class Cortex(pympljstyle.BaseJournal):
```

Once complete, consider contributing your new journal styles to the package via a pull request.


## Development

### Build and release process

First, build the package (after having previously run `pip install -e .[build]`):

```bash
python -m build
```

This will produce files in the `dist/` sub-directory.

Then, test the ability to upload to the test PyPI server:

```bash
python -m twine upload --repository testpypi dist/*
```

If that all looks OK, then upload to PyPI:

```bash
python -m twine twine upload dist/*
```

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ interactive = [
"ipython",
"pickleshare",
]
build = [
"build",
"twine",
]

[project.urls]
Documentation = "https://github.com/djmannion/pympljstyle#readme"
Expand Down
2 changes: 1 addition & 1 deletion src/pympljstyle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1"
__version__ = "0.2"

import pympljstyle.journals # noqa: F401

Expand Down

0 comments on commit 9e0ad92

Please sign in to comment.