Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ppb_vector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

__all__ = ('Vector',)

#: ppb_vector's current version.
#: It follows the semantic versioning convention.
__version__ = "1.0b1"

# Anything convertable to a Vector, including lists, tuples, and dicts
VectorLike = typing.Union[
Expand Down
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = ppb-vector
version = 1.0b1
version = attr: ppb_vector.__version__
author = Piper Thunstrom
author_email = pathunstrom@gmail.com
description = A basic game development Vector class.
Expand All @@ -22,8 +22,6 @@ packages = ppb_vector
python_requires = >= 3.6
zip_safe = True

setup_requires = pytest-runner

[aliases]
test = pytest

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def requirements(section=None):

# See setup.cfg for the actual configuration.
setup(
# setup needs to be able to import the library, for attr: to work
setup_requires=requirements() + ['pytest-runner'],
install_requires=requirements(),
tests_require=requirements('tests'),
)