Compare commits

..

No commits in common. "master" and "0.2" have entirely different histories.

7 changed files with 14 additions and 23 deletions

1
.gitignore vendored
View file

@ -4,5 +4,4 @@ __pycache__
*.pyc
*.egg-info/
build/
dist/

View file

@ -1,3 +1,2 @@
include README.md
include LICENSE.md
include mem_edit/VERSION

View file

@ -25,12 +25,12 @@
Install with pip, from PyPI (preferred):
```bash
pip3 install mem_edit
pip install mem_edit
```
Install with pip from git repository
```bash
pip3 install git+https://mpxd.net/code/jan/mem_edit.git@release
pip install git+https://mpxd.net/code/jan/mem_edit.git@release
```

View file

@ -1 +0,0 @@
0.3

View file

@ -12,16 +12,12 @@ To get started, try:
"""
import platform
import pathlib
from .utils import MemEditError
__author__ = 'Jan Petykiewicz'
with open(pathlib.Path(__file__).parent / 'VERSION', 'r') as f:
__version__ = f.read().strip()
version = __version__
version = '0.2'
system = platform.system()

View file

@ -1,15 +1,15 @@
#!/usr/bin/env python3
from setuptools import setup, find_packages
import mem_edit
with open('README.md', 'r') as f:
long_description = f.read()
with open('mem_edit/VERSION', 'r') as f:
version = f.read().strip()
setup(name='mem_edit',
version=version,
version=mem_edit.version,
description='Multi-platform library for memory editing',
long_description=long_description,
long_description_content_type='text/markdown',
@ -34,6 +34,7 @@ setup(name='mem_edit',
'trainer',
],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
@ -49,9 +50,6 @@ setup(name='mem_edit',
'Topic :: Utilities',
],
packages=find_packages(),
package_data={
'mem_edit': ['VERSION']
},
install_requires=[
'typing',
],