Skip to content

Commit

Permalink
import __version__
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmiguez committed Jul 27, 2022
1 parent 5c0e7d8 commit 57621fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion docs/source/conf.py
Expand Up @@ -15,6 +15,8 @@
import os
import sys

from pymods import __version__

sys.path.append(os.path.join(os.path.dirname(__file__), '../../'))
# sys.path.insert(0, os.path.abspath('.'))

Expand All @@ -28,7 +30,7 @@
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = '2.0.12'
release = __version__


# -- General configuration ---------------------------------------------------
Expand Down
7 changes: 4 additions & 3 deletions pymods/__init__.py
@@ -1,5 +1,7 @@
# __init__.py

__version__ = '2.0.12'

r'''
pymods
Expand Down Expand Up @@ -183,8 +185,7 @@
'''


from .record import *
from .constants import *
from .exceptions import *
from .reader import *
from .constants import *
from .record import *
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -3,14 +3,16 @@

from setuptools import setup, find_packages

from pymods import __version__

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()

setup(
name="pymods",
version="2.0.12",
version=__version__,
packages=find_packages(exclude=['tests*']),
install_requires=['lxml >= 2.3'],
author="Matthew Miguez",
Expand Down

0 comments on commit 57621fe

Please sign in to comment.