diff --git a/Cargo.toml b/Cargo.toml index e535c62..15d9fd3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "fastcrc" version = "0.1.0" authors = ["overcat <4catcode@gmail.com>"] edition = "2018" -description = "A hyper-fast Python module for computing CRC checksum" +description = "A hyper-fast Python module for computing CRC(16, 32, 64) checksum" license = "MIT License" repository = "https://github.com/overcat/fastcrc" homepage = "https://github.com/overcat/fastcrc" diff --git a/fastcrc/__version__.py b/fastcrc/__info__.py similarity index 71% rename from fastcrc/__version__.py rename to fastcrc/__info__.py index 7b2dd4e..137afb3 100644 --- a/fastcrc/__version__.py +++ b/fastcrc/__info__.py @@ -1,5 +1,5 @@ __title__ = "fastcrc" -__description__ = "A hyper-fast Python module for computing CRC checksum" +__description__ = "A hyper-fast Python module for computing CRC(16, 32, 64) checksum" __url__ = "https://github.com/overcat/fastcrc" __issues__ = f"{__url__}/issues" __version__ = "0.1.0" diff --git a/fastcrc/__init__.py b/fastcrc/__init__.py index f0ca17f..6182aca 100644 --- a/fastcrc/__init__.py +++ b/fastcrc/__init__.py @@ -1,3 +1,11 @@ -from . import crc16 -from . import crc32 -from . import crc64 \ No newline at end of file +from . import crc16, crc32, crc64 +from .__info__ import ( + __author__, + __author_email__, + __description__, + __issues__, + __license__, + __title__, + __url__, + __version__, +) diff --git a/setup.py b/setup.py index 8185b5e..95b8ebd 100644 --- a/setup.py +++ b/setup.py @@ -7,11 +7,11 @@ about = {} with open( - os.path.join(here, "fastcrc", "__version__.py"), mode="r", encoding="utf-8" + os.path.join(here, "fastcrc", "__info__.py"), mode="r", encoding="utf-8" ) as f: exec(f.read(), about) -with open("README.md", mode="r", encoding="utf-8") as f: +with open("README.rst", mode="r", encoding="utf-8") as f: readme = f.read() setup( @@ -19,7 +19,6 @@ version=about["__version__"], description=about["__description__"], long_description=readme, - long_description_content_type="text/markdown", author=about["__author__"], author_email=about["__author_email__"], url=about["__url__"], @@ -39,7 +38,6 @@ classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows",