Browse Source

refactor code structure. tests passing.

master
S Groesz 2 years ago
parent
commit
e94a824fa0
  1. 8
      Makefile
  2. 7
      README.md
  3. 0
      bits.py
  4. 1
      bits/__init__.py
  5. 5
      docs/Makefile
  6. 2
      setup.py

8
Makefile

@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
init:
pip install -r requirements.txt
pip3 install --user -r requirements.txt
test:
python -m unittest -v tests/test_bit.py
python -m unittest -v tests/test_bits.py
python -m unittest -v tests/test_bytes.py
python3 -m unittest -v tests/test_bit.py
python3 -m unittest -v tests/test_bits.py
python3 -m unittest -v tests/test_bytes.py
.PHONY: init test

7
README.md

@ -1,3 +1,10 @@ @@ -1,3 +1,10 @@
# Bits
Helps manage your bits!
Intended to be compatible with Python 3.6+. Written and tested against Python
3.8.5 Ubuntu 20.04.1 LTS.
If something doesn't work in Python 3.6, it's a bug. Please report any such
bugs if they are encountered.

0
bits/main.py → bits.py

1
bits/__init__.py

@ -1 +0,0 @@ @@ -1 +0,0 @@
from .main import Bit, Bits, Bytes

5
docs/Makefile

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
# Makefile for Sphinx documentation
#
# This is currently a stub. TODO: documentation
#

2
setup.py

@ -5,7 +5,7 @@ with open("README.md", "r") as fh: @@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="bits",
version="1.0.1",
version="1.0.0",
author="S Groesz",
description="Make your bits easier to handle",
long_description=long_description,

Loading…
Cancel
Save