-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into new-branch-1
- Loading branch information
Showing
98 changed files
with
3,341 additions
and
1,438 deletions.
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.env | ||
venv/ | ||
.venv/ | ||
__pycache__/ | ||
*.swp | ||
*.log | ||
|
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
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,34 @@ | ||
# how to publish to pypi | ||
|
||
## start with testing if the project builds and tag the version | ||
|
||
```bash | ||
python -m venv venv | ||
source venv/bin/activate | ||
pip install -e . | ||
pytest | ||
git tag v0.3.0 | ||
git push origin v0.3.0 | ||
``` | ||
|
||
## build and new package | ||
|
||
(according to https://packaging.python.org/en/latest/tutorials/packaging-projects/) | ||
|
||
```bash | ||
pip install build twine | ||
python3 -m build | ||
vi ~/.pypirc | ||
twine check dist/* | ||
``` | ||
|
||
Now, for next time.. test install the package in a new vanilla environment, then.. | ||
|
||
```bash | ||
twine upload dist/* | ||
``` | ||
|
||
## repo todos | ||
|
||
- rebase development upon main | ||
- bump the pyproject version number to a new `-dev` |
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
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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
from .capability import Capability | ||
from .psexec_test_credential import PSExecTestCredential | ||
from .psexec_run_command import PSExecRunCommand | ||
from .psexec_test_credential import PSExecTestCredential | ||
from .ssh_run_command import SSHRunCommand | ||
from .ssh_test_credential import SSHTestCredential | ||
from .ssh_test_credential import SSHTestCredential | ||
|
||
__all__ = [ | ||
"Capability", | ||
"PSExecRunCommand", | ||
"PSExecTestCredential", | ||
"SSHRunCommand", | ||
"SSHTestCredential", | ||
] |
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
Oops, something went wrong.