forked from MRepoApp/magisk-modules-repo-util
-
Notifications
You must be signed in to change notification settings - Fork 11
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
1 parent
a3d56b9
commit 9db4c97
Showing
7 changed files
with
52 additions
and
8 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,4 +1,6 @@ | ||
__pycache__/ | ||
.idea/ | ||
|
||
*.egg-info | ||
dist/ | ||
build/ | ||
.DS_Store |
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,4 @@ | ||
#!/bin/bash | ||
|
||
rm -rf build dist *.egg-info | ||
python3 setup.py sdist bdist_wheel |
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,3 @@ | ||
#!/bin/bash | ||
|
||
python3 -m pip install -e . |
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,3 @@ | ||
#!/bin/bash | ||
|
||
twine upload dist/* |
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,32 @@ | ||
from setuptools import setup, find_packages | ||
|
||
from sync import __version__ | ||
|
||
setup( | ||
name="mmrl-util", | ||
version=__version__.get_version(), | ||
description="A tool to build your own Magisk Modules Repository", | ||
long_description=open("README.md").read(), | ||
long_description_content_type="text/markdown", | ||
author="Der_Googler & Sanmer", | ||
author_email="[email protected]", | ||
url="https://github.com/Googlers-Repo/magisk-modules-repo-util", | ||
license="GPL-3.0", | ||
packages=find_packages(), | ||
install_requires=[ | ||
"pygithub>=1.59.0", | ||
"python-dateutil>=2.8.2", | ||
"requests>=2.31.0", | ||
"tabulate>=0.9.0", | ||
"gitpython>=3.1.37", | ||
"validators>=0.28.3", | ||
"pyyaml>=6.0.2", | ||
"python-magic>=0.4.27", | ||
], | ||
entry_points={ | ||
"console_scripts": [ | ||
"mmrl-util=sync.__main__:main", | ||
], | ||
}, | ||
python_requires=">=3.7", | ||
) |
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