Compare commits
No commits in common. "fad06ffffc4581c3d8fc4bbddd58ff090b81466a" and "96d85ba728f063385fedf327d12d0e1c1038efaa" have entirely different histories.
fad06ffffc
...
96d85ba728
|
@ -2,7 +2,6 @@
|
|||
<!-- THIS IS AN AUTOGENERATED FILE! -->
|
||||
<!-- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN! -->
|
||||
|
||||
|
||||
# Partisia Blockchain Client
|
||||
|
||||

|
||||
|
@ -26,12 +25,10 @@ Full list of requirements:
|
|||
- [coincurve](https://pypi.org/project/coincurve/)
|
||||
- [pbcabi](https://gitfub.space/Jmaa/pbcabi)
|
||||
|
||||
|
||||
## Contributing
|
||||
|
||||
Feel free to submit pull requests. Please follow the [Code Conventions](CONVENTIONS.md) when doing so.
|
||||
|
||||
|
||||
### Testing
|
||||
|
||||
Testing requires the [pytest](https://docs.pytest.org/en/stable/) library.
|
||||
|
@ -48,7 +45,6 @@ Test coverage can be run using the [`pytest-cov`](https://pypi.org/project/pytes
|
|||
pytest --cov=pbc_client test
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
```
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = '0.1.9'
|
||||
__version__ = '0.1.8'
|
||||
|
|
5
setup.py
5
setup.py
|
@ -20,7 +20,6 @@ Group ApS.
|
|||
PACKAGE_DESCRIPTION_SHORT = """
|
||||
Unofficial library for reading contract states from Partisia Blockchain.""".strip()
|
||||
|
||||
|
||||
def parse_version_file(text: str) -> str:
|
||||
text = re.sub('^#.*', '', text, flags=re.MULTILINE)
|
||||
match = re.match(r'^\s*__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
|
||||
|
@ -29,18 +28,15 @@ def parse_version_file(text: str) -> str:
|
|||
raise Exception(msg)
|
||||
return match.group(2)
|
||||
|
||||
|
||||
with open(PACKAGE_NAME + '/_version.py') as f:
|
||||
version = parse_version_file(f.read())
|
||||
|
||||
|
||||
REQUIREMENTS_MAIN = [
|
||||
'coincurve',
|
||||
'pbcabi @ git+https://gitfub.space/Jmaa/pbcabi',
|
||||
]
|
||||
REQUIREMENTS_TEST = []
|
||||
|
||||
|
||||
setup(
|
||||
name=PACKAGE_NAME,
|
||||
version=version,
|
||||
|
@ -50,6 +46,7 @@ setup(
|
|||
author='Jon Michael Aanes',
|
||||
author_email='jonjmaa@gmail.com',
|
||||
url='https://gitfub.space/Jmaa/' + PACKAGE_NAME,
|
||||
packages=[PACKAGE_NAME],
|
||||
install_requires=REQUIREMENTS_MAIN,
|
||||
extras_require={
|
||||
'test': REQUIREMENTS_TEST,
|
||||
|
|
Loading…
Reference in New Issue
Block a user