Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sg495 committed Dec 12, 2021
1 parent 2a12520 commit 7096ad3
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 6 deletions.
5 changes: 2 additions & 3 deletions setup.py → _setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="bases",
version="0.1.0.post2",
version="0.1.0.post3",
author="hashberg",
author_email="[email protected]",
url="https://github.com/hashberg-io/bases",
Expand All @@ -26,8 +26,7 @@
"Natural Language :: English",
"Typing :: Typed",
],
package_data={"": [],
"bases": ["py.typed"],
package_data={"": ["py.typed"],
},
install_requires=[
"typing_extensions"
Expand Down
2 changes: 2 additions & 0 deletions bases/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
"""

__version__ = "0.1.1"

from . import encoding as encoding
from . import alphabet as alphabet
from .encoding import (base2, base16, base8, base10, base36, base58btc, base58flickr, base58ripple,
Expand Down
6 changes: 3 additions & 3 deletions pypi-distrib-upload.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
python setup.py sdist bdist_wheel
python -m twine upload dist/*
pause
py -m build
py -m twine upload --skip-existing dist/*
pause
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# pyproject.toml
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm>=6.2"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
44 changes: 44 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# https://packaging.python.org/en/latest/tutorials/packaging-projects/
# https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
# https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#setup-cfg

[metadata]
name = bases
author = hashberg
author_email = [email protected]
description = Python library for general Base-N encodings.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/hashberg-io/bases
project_urls =
Bug Tracker = https://github.com/hashberg-io/bases/issues
classifiers = # see https://pypi.org/classifiers/
Development Status :: 4 - Beta
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.6
Operating System :: OS Independent
Natural Language :: English
Typing :: Typed

[options]
packages = find:
python_requires = >=3.6
install_requires =
typing_extensions

[options.package_data]
* = py.typed

[options.packages.find]
exclude = test

[options.extras_require]
dev =
mypy
pylint
pytest
pytest-cov
base58

0 comments on commit 7096ad3

Please sign in to comment.