-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathsetup.py
51 lines (46 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from pathlib import Path
from setuptools import find_packages, setup
from typing import Optional
# Load version number
__version__: Optional[str] = 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=__version__,
author='Kyle Swanson',
author_email='swansonk.14@gmail.com',
description='Parallel processing with progress bars',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/swansonk14/p_tqdm',
download_url=f'https://github.com/swansonk14/p_tqdm/v_{__version__}.tar.gz',
license='MIT',
packages=find_packages(),
install_requires=[
'tqdm>=4.45.0',
'pathos>=0.2.5',
'six>=1.13.0'
],
tests_require=['pytest'],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
keywords=[
'tqdm',
'progress bar',
'parallel'
],
)