Move to hatch-based build
This commit is contained in:
parent
d49555ad15
commit
303620b0a2
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,8 +1,13 @@
|
|||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
__pycache__
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|
||||||
*.egg-info/
|
*.egg-info/
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
|
|
||||||
|
.pytest_cache/
|
||||||
|
.mypy_cache/
|
||||||
|
|
||||||
|
*.pickle
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
include README.md
|
|
||||||
include LICENSE.md
|
|
||||||
include mem_edit/VERSION
|
|
1
mem_edit/LICENSE.md
Symbolic link
1
mem_edit/LICENSE.md
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../LICENSE.md
|
1
mem_edit/README.md
Symbolic link
1
mem_edit/README.md
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../README.md
|
@ -1,4 +0,0 @@
|
|||||||
""" VERSION defintion. THIS FILE IS MANUALLY PARSED BY setup.py and REQUIRES A SPECIFIC FORMAT """
|
|
||||||
__version__ = '''
|
|
||||||
0.6
|
|
||||||
'''.strip()
|
|
@ -17,8 +17,7 @@ from .utils import MemEditError
|
|||||||
|
|
||||||
|
|
||||||
__author__ = 'Jan Petykiewicz'
|
__author__ = 'Jan Petykiewicz'
|
||||||
|
__version__ = '0.6'
|
||||||
from .VERSION import __version__
|
|
||||||
version = __version__ # legacy compatibility
|
version = __version__ # legacy compatibility
|
||||||
|
|
||||||
|
|
||||||
|
54
pyproject.toml
Normal file
54
pyproject.toml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "mem_edit"
|
||||||
|
description = "Multi-platform library for memory editing"
|
||||||
|
readme = "README.md"
|
||||||
|
license = { file = "LICENSE.md" }
|
||||||
|
authors = [
|
||||||
|
{ name="Jan Petykiewicz", email="jan@mpxd.net" },
|
||||||
|
]
|
||||||
|
homepage = "https://mpxd.net/code/jan/mem_edit"
|
||||||
|
repository = "https://mpxd.net/code/jan/mem_edit"
|
||||||
|
keywords = [
|
||||||
|
"memory",
|
||||||
|
"edit",
|
||||||
|
"editing",
|
||||||
|
"ReadProcessMemory",
|
||||||
|
"WriteProcessMemory",
|
||||||
|
"proc",
|
||||||
|
"mem",
|
||||||
|
"ptrace",
|
||||||
|
"multiplatform",
|
||||||
|
"scan",
|
||||||
|
"scanner",
|
||||||
|
"search",
|
||||||
|
"debug",
|
||||||
|
"cheat",
|
||||||
|
"trainer",
|
||||||
|
]
|
||||||
|
classifiers = [
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Development Status :: 4 - Beta",
|
||||||
|
"Environment :: Other Environment",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
||||||
|
"Operating System :: POSIX :: Linux",
|
||||||
|
"Operating System :: Microsoft :: Windows",
|
||||||
|
"Topic :: Software Development",
|
||||||
|
"Topic :: Software Development :: Debuggers",
|
||||||
|
"Topic :: Software Development :: Testing",
|
||||||
|
"Topic :: System",
|
||||||
|
"Topic :: Games/Entertainment",
|
||||||
|
"Topic :: Utilities",
|
||||||
|
]
|
||||||
|
requires-python = ">=3.7"
|
||||||
|
dynamic = ["version"]
|
||||||
|
dependencies = [
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
path = "mem_edit/__init__.py"
|
||||||
|
|
62
setup.py
62
setup.py
@ -1,62 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
|
||||||
|
|
||||||
|
|
||||||
with open('README.md', 'rt') as f:
|
|
||||||
long_description = f.read()
|
|
||||||
|
|
||||||
with open('mem_edit/VERSION.py', 'rt') as f:
|
|
||||||
version = f.readlines()[2].strip()
|
|
||||||
|
|
||||||
setup(name='mem_edit',
|
|
||||||
version=version,
|
|
||||||
description='Multi-platform library for memory editing',
|
|
||||||
long_description=long_description,
|
|
||||||
long_description_content_type='text/markdown',
|
|
||||||
author='Jan Petykiewicz',
|
|
||||||
author_email='jan@mpxd.net',
|
|
||||||
url='https://mpxd.net/code/jan/mem_edit',
|
|
||||||
keywords=[
|
|
||||||
'memory',
|
|
||||||
'edit',
|
|
||||||
'editing',
|
|
||||||
'ReadProcessMemory',
|
|
||||||
'WriteProcessMemory',
|
|
||||||
'proc',
|
|
||||||
'mem',
|
|
||||||
'ptrace',
|
|
||||||
'multiplatform',
|
|
||||||
'scan',
|
|
||||||
'scanner',
|
|
||||||
'search',
|
|
||||||
'debug',
|
|
||||||
'cheat',
|
|
||||||
'trainer',
|
|
||||||
],
|
|
||||||
classifiers=[
|
|
||||||
'Programming Language :: Python :: 3',
|
|
||||||
'Development Status :: 4 - Beta',
|
|
||||||
'Environment :: Other Environment',
|
|
||||||
'Intended Audience :: Developers',
|
|
||||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
|
||||||
'Operating System :: POSIX :: Linux',
|
|
||||||
'Operating System :: Microsoft :: Windows',
|
|
||||||
'Topic :: Software Development',
|
|
||||||
'Topic :: Software Development :: Debuggers',
|
|
||||||
'Topic :: Software Development :: Testing',
|
|
||||||
'Topic :: System',
|
|
||||||
'Topic :: Games/Entertainment',
|
|
||||||
'Topic :: Utilities',
|
|
||||||
],
|
|
||||||
packages=find_packages(),
|
|
||||||
package_data={
|
|
||||||
'mem_edit': []
|
|
||||||
},
|
|
||||||
install_requires=[
|
|
||||||
'typing',
|
|
||||||
],
|
|
||||||
extras_require={
|
|
||||||
},
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user