-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,11 @@ The directory `original_code/` contains initial notebooks compiled from recent p | |
The functionality of these notebooks is being ported to the `asp_plot/` directory, which is the package `asp_plot`. | ||
|
||
|
||
## Installing and testing the package | ||
## Installing, testing, and distributing the package | ||
|
||
### For Development | ||
|
||
If you instead want to install the source code for e.g. developing the project: | ||
|
||
``` | ||
$ git clone [email protected]:uw-cryo/asp_plot.git | ||
|
@@ -33,6 +37,21 @@ To ensure the install was successful, tests can be run with: | |
$ pytest | ||
``` | ||
|
||
### Package and upload | ||
|
||
``` | ||
$ python3 -m pip install --upgrade build | ||
$ python3 -m build | ||
$ python3 -m pip install --upgrade twine | ||
$ python3 -m twine upload dist/* | ||
``` | ||
|
||
### Install via pip | ||
|
||
``` | ||
pip install asp-plot | ||
``` | ||
|
||
## Notebook example usage | ||
|
||
Examples of the modular usage of the package can be found in the `notebooks/` directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "asp_plot" | ||
version = "0.1.0" | ||
authors = [ | ||
{ name="Ben Purinton", email="[email protected]" }, | ||
] | ||
description = "Package for plotting outputs Ames Stereo Pipeline processing" | ||
readme = "README.md" | ||
requires-python = ">=3.11" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
[project.scripts] | ||
asp_plot = "asp_plot.cli.asp_plot:main" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/uw-cryo/asp_plot" | ||
Issues = "https://github.com/uw-cryo/asp_plot/issues" |