From 42bb3f13e6c25d554904655b74789a7b11130ae1 Mon Sep 17 00:00:00 2001 From: S Groesz Date: Wed, 28 Oct 2020 06:31:17 +0000 Subject: [PATCH] package --- .gitignore | 2 ++ setup.py | 18 +++++++++++++++--- bits.py => src/bits.py | 0 tests/context.py | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) rename bits.py => src/bits.py (100%) diff --git a/.gitignore b/.gitignore index 7475991..b0c9a9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ __pycache__ *.bak *.swp +build/ +dist/ diff --git a/setup.py b/setup.py index 83bfd70..05a917d 100644 --- a/setup.py +++ b/setup.py @@ -7,15 +7,27 @@ setuptools.setup( name="bits", version="1.0.0", author="S Groesz", - description="Make your bits easier to handle", + description="Provide additional methods for working with binary data", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/wolfpackmars2/bits", - packages=setuptools.find_packages(), classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Topic :: Software Development :: Libraries :: Python Modules", "Programming Language :: Python :: 3", - "License :: OSI Approved "" MIT License", + "Programming Language :: Python :: Implementation :: CPython", + "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], python_requires='>=3.6', + py_modules=['bits'], + package_dir={'': 'src'}, + test_suite='tests', + extras_require={ + 'test': ['coverage'], + }, + project_urls={ + 'Source': 'http://git.groesz.org/wp/bits/', + }, ) diff --git a/bits.py b/src/bits.py similarity index 100% rename from bits.py rename to src/bits.py diff --git a/tests/context.py b/tests/context.py index aff6baa..aee8640 100644 --- a/tests/context.py +++ b/tests/context.py @@ -1,7 +1,7 @@ import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), - '..'))) + '../src'))) from bits import Bit from bits import Bits