Skip to content

Commit

Permalink
Build config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefox2100 committed Feb 20, 2024
1 parent 8f99cb3 commit 2de37cf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion py_sim7600/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0-pre-alpha"
__version__ = '0.1.0-alpha.1'
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "py-sim7600"
Expand All @@ -10,6 +10,7 @@ authors = [
]
description = "A pure python package to communicate with SIM7600 modems."
readme = "README.md"
license = {file="LICENSE"}
requires-python = ">=3.7"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
Expand All @@ -20,6 +21,9 @@ classifiers = [
"Operating System :: OS Independent",
"Topic :: Communications :: Telephony",
]
dependencies = [
"pyserial",
]

[project.urls]
"Homepage" = "https://github.com/Firefox2100/py-sim7600"
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
from setuptools import setup
import codecs
import os.path
from pathlib import Path


here = os.path.abspath(os.path.dirname(__file__))
long_description = (here / "README.md").read_text()
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()


def read(rel_path: str):
Expand All @@ -30,9 +32,6 @@ def get_version(rel_path):
author='Firefox2100',
author_email='[email protected]',
description='A pure Python package to interface with SIM7600 modems.',
install_requires=[
"pyserial",
],
long_description=long_description,
long_description_content_type='text/markdown'
)

0 comments on commit 2de37cf

Please sign in to comment.