Skip to content

Commit

Permalink
Changing testing suite from nose to pytest and incrementing version t…
Browse files Browse the repository at this point in the history
…o 1.4.0
  • Loading branch information
swansonk14 committed Aug 27, 2022
1 parent eabcbc6 commit 6d55dd4
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
4 changes: 3 additions & 1 deletion p_tqdm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
from p_tqdm.p_tqdm import p_map, p_imap, p_umap, p_uimap, t_map, t_imap
from p_tqdm._version import __version__

__all__ = [
'p_map',
'p_imap',
'p_umap',
'p_uimap',
't_map',
't_imap'
't_imap',
'__version__'
]
7 changes: 7 additions & 0 deletions p_tqdm/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
__all__ = ['__version__']

# major, minor, patch
version_info = 1, 4, 0

# Nice string for the version
__version__ = '.'.join(map(str, version_info))
16 changes: 13 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
from pathlib import Path
from setuptools import find_packages, setup

# Load version number
__version__ = None

src_dir = Path(__file__).parent.absolute()
version_file = src_dir / 'p_tqdm' / '_version.py'

# Long README
with open(version_file) as fd:
exec(fd.read())

with open('README.md', encoding='utf-8') as f:
long_description = f.read()

setup(
name='p_tqdm',
version='1.3.3',
version='1.4.0',
author='Kyle Swanson',
author_email='[email protected]',
description='Parallel processing with progress bars',
Expand All @@ -20,8 +31,7 @@
'pathos>=0.2.5',
'six>=1.13.0'
],
test_suite='nose.collector',
tests_require=['nose'],
tests_require=['pytest'],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
Expand Down
File renamed without changes.

0 comments on commit 6d55dd4

Please sign in to comment.