Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfootjon committed Mar 6, 2024
1 parent 075447f commit ca0ea77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions keyedarchivelib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
from keyedarchivelib.api import dump, dumps, load, loads # noqa: F401

VERSION = "1.0.2"
from keyedarchivelib.version import VERSION # noqa: F401
1 change: 1 addition & 0 deletions keyedarchivelib/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION = "1.0.2"
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
from setuptools import setup, find_packages # type: ignore

import keyedarchivelib

with open("README.md", "r") as readme_file:
long_description: str = readme_file.read()

with open("keyedarchivelib/version.py", "r") as version_file:
exec(version_file.read())

setup(
name="keyedarchivelib",
package_data={"keyedarchivelib": ["py.typed"]},
packages=find_packages(exclude=["test", "test.*"]),
version=keyedarchivelib.VERSION,
version=VERSION,
python_requires=">=3.8",
description="Generate and parse NSKeyedArchive files",
long_description=long_description,
Expand All @@ -20,7 +21,7 @@
author_email="[email protected]",
url="https://github.com/bigfootjon/keyedarchivelib",
download_url="https://github.com/bigfootjon/keyedarchivelib/tarball/"
+ keyedarchivelib.VERSION,
+ VERSION,
keywords=[],
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit ca0ea77

Please sign in to comment.