-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This changes the project to be a small wrapper around the redstone library which is where most of the development focus for the Python KeyProtect client has moved. This will remain a small wrapper to provide users an easy way to find a Python lib that can provide the simple interface that they are most likely looking for, but not have multiple copies of code sitting around creating a code maintainence nightmare.
- Loading branch information
Showing
8 changed files
with
72 additions
and
481 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.PHONY: dist | ||
|
||
dist: | ||
python setup.py sdist bdist_wheel | ||
|
||
publish: dist | ||
pip install 'twine>=1.5.0' | ||
twine upload dist/* | ||
rm -fr build dist .egg *.egg-info |
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,6 +1,9 @@ | ||
from __future__ import absolute_import | ||
|
||
# alias keyprotect -> keyprotect.keyprotect | ||
# keeps the keyprotect.py module as copy-able single file, | ||
# but we can package it in its own namespace as an installable as well | ||
from keyprotect.keyprotect import * # noqa: F401,F403 | ||
import redstone | ||
from redstone import auth as bxauth # noqa: F401 | ||
|
||
|
||
def Client(*args, **kwargs): # noqa: N802 | ||
cl = redstone.service("KeyProtect", *args, **kwargs) | ||
return cl |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.