[setup] Add `incremental` versioning

pull/2/head
Daniel Van Der Maden 5 years ago
parent 5b24f98b3d
commit 500068118e
  1. 6
      pyhmy/__init__.py
  2. 11
      pyhmy/_version.py
  3. 5
      setup.py

@ -1,6 +1,8 @@
import sys
import warnings
import pkg_resources
from ._version import __version__
from .util import (
Typgpy,
@ -32,5 +34,3 @@ if sys.platform.startswith('win32') or sys.platform.startswith('cygwin'):
)
)
warnings.resetwarnings()
__version__ = pkg_resources.get_distribution("pyhmy").version

@ -0,0 +1,11 @@
"""
Provides pyhmy version information.
"""
# This file is auto-generated! Do not edit!
# Use `python -m incremental.update pyhmy` to change this file.
from incremental import Version
__version__ = Version('pyhmy', 20, 1, 0, dev=2)
__all__ = ["__version__"]

@ -6,12 +6,13 @@ README = (HERE / "README.md").read_text()
setup(
name='pyhmy',
version='0.11',
use_incremental=True,
setup_requires=['incremental', 'click', 'twisted'],
long_description=README,
long_description_content_type="text/markdown",
author='Daniel Van Der Maden',
author_email='daniel@harmony.one',
url="http://harmony.one/",
packages=['pyhmy'],
install_requires=['pexpect', 'requests', 'pytest', 'pytest-ordering'],
install_requires=['pexpect', 'requests', 'pytest', 'pytest-ordering', 'incremental', 'click', 'twisted'],
)

Loading…
Cancel
Save