-
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.
Merge pull request #17 from henriquegemignani/feature/modernize
Modernize package
- Loading branch information
Showing
10 changed files
with
235 additions
and
101 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,21 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "dependencies" | ||
open-pull-requests-limit: 2 | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "dependencies" |
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,23 @@ | ||
name: Dependabot auto-merge | ||
on: pull_request | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- name: Dependabot metadata | ||
id: metadata | ||
uses: dependabot/fetch-metadata@v1 | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Enable auto-merge for Dependabot PRs | ||
run: gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
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
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
[build-system] | ||
requires = ["setuptools>=60.0.0", "Cython>=0.29.21", "setuptools_scm[toml]>=6.4"] | ||
requires = [ | ||
"setuptools>=61.2", | ||
"Cython>=0.29.21", | ||
"setuptools_scm[toml]>=6.4" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "dolphin-memory-engine" | ||
description = "Hooks into the memory of a running Dolphin processes, allowing access to the game memory." | ||
authors = [{name = "Henrique Gemignani"}] | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
requires-python = ">=3.7" | ||
dependencies = [] | ||
dynamic = ["version"] | ||
|
||
[project.readme] | ||
file = "README.md" | ||
content-type = "text/markdown" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/henriquegemignani/py-dolphin-memory-engine" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
] | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "no-local-version" | ||
version_scheme = "guess-next-dev" | ||
local_scheme = "no-local-version" | ||
write_to = "python_src/dolphin_memory_engine/version.py" |
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,41 @@ | ||
from dolphin_memory_engine._dolphin_memory_engine import ( | ||
MemWatch, | ||
assert_hooked, | ||
follow_pointers, | ||
|
||
hook, | ||
un_hook, | ||
is_hooked, | ||
|
||
read_byte, | ||
read_bytes, | ||
read_double, | ||
read_float, | ||
read_word, | ||
write_byte, | ||
write_bytes, | ||
write_double, | ||
write_float, | ||
write_word, | ||
) | ||
|
||
__all__ = [ | ||
'MemWatch', | ||
'assert_hooked', | ||
'follow_pointers', | ||
|
||
'hook', | ||
'un_hook', | ||
'is_hooked', | ||
|
||
'read_byte', | ||
'read_bytes', | ||
'read_double', | ||
'read_float', | ||
'read_word', | ||
'write_byte', | ||
'write_bytes', | ||
'write_double', | ||
'write_float', | ||
'write_word', | ||
] |
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,27 +1,7 @@ | ||
[metadata] | ||
name = dolphin-memory-engine | ||
description = Hooks into the memory of a running Dolphin processes, allowing access to the game memory. | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/henriquegemignani/py-dolphin-memory-engine | ||
author = Henrique Gemignani | ||
license_files = | ||
LICENSE | ||
|
||
classifiers = | ||
License :: OSI Approved :: MIT License | ||
Development Status :: 3 - Alpha | ||
Intended Audience :: Developers | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
|
||
[options] | ||
packages = dolphin_memory_engine | ||
install_requires = | ||
|
||
include_package_data = True | ||
zip_safe = False | ||
python_requires = >=3.7 | ||
packages = find: | ||
package_dir = | ||
= python_src | ||
|
||
[options.packages.find] | ||
where = python_src |
Oops, something went wrong.