Skip to content

Commit

Permalink
[MOD] Version
Browse files Browse the repository at this point in the history
  • Loading branch information
EricHorvat committed Apr 18, 2020
1 parent feea4e7 commit 4233ff1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion faraday_agent_dispatcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

__author__ = """Eric Horvat"""
__email__ = '[email protected]'
__version__ = '1.0'
__version__ = '1.1'
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"""The setup script."""

import sys
from re import search
from setuptools import setup, find_packages

if sys.version_info.major < 3 or sys.version_info.minor < 7:
Expand All @@ -27,6 +28,9 @@
sys.exit(1)


with open('faraday_agent_dispatcher/__init__.py', 'rt', encoding='utf8') as f:
version = search(r'__version__ = \'(.*?)\'', f.read()).group(1)

with open('README.md') as readme_file:
readme = readme_file.read()

Expand Down Expand Up @@ -74,6 +78,6 @@
use_scm_version=False,
setup_requires=setup_requirements,
url='https://github.com/infobyte/faraday_agent_dispatcher',
version='1.0',
version=version,
zip_safe=False,
)

0 comments on commit 4233ff1

Please sign in to comment.