annotate setup.py @ 433:0f8f60771784

Update python version and requirements
author Amine Sehili <amine.sehili@gmail.com>
date Wed, 30 Oct 2024 17:23:49 +0100
parents 08a7af37f2e9
children 68f6b42e7a65
rev   line source
amine@404 1 import ast
amine@404 2 import re
amine@19 3 import sys
amine@404 4
amine@2 5 from setuptools import setup
amine@2 6
amine@331 7 _version_re = re.compile(r"__version__\s+=\s+(.*)")
amine@2 8
amine@340 9 with open("auditok/__init__.py", "rt") as f:
amine@340 10 version = str(ast.literal_eval(_version_re.search(f.read()).group(1)))
amine@340 11 long_desc = open("README.rst", "rt").read()
amine@2 12
amine@2 13 setup(
amine@331 14 name="auditok",
amine@2 15 version=version,
amine@331 16 url="http://github.com/amsehili/auditok/",
amine@340 17 license="MIT",
amine@331 18 author="Amine Sehili",
amine@331 19 author_email="amine.sehili@gmail.com",
amine@331 20 description="A module for Audio/Acoustic Activity Detection",
amine@331 21 long_description=long_desc,
amine@391 22 long_description_content_type="text/x-rst",
amine@331 23 packages=["auditok"],
amine@2 24 include_package_data=True,
amine@331 25 package_data={"auditok": ["data/*"]},
amine@2 26 zip_safe=False,
amine@331 27 platforms="ANY",
amine@331 28 provides=["auditok"],
amine@433 29 install_requires=[
amine@433 30 "numpy",
amine@433 31 "matplotlib",
amine@433 32 "pydub",
amine@433 33 "pyaudio",
amine@433 34 "tqdm",
amine@433 35 ],
amine@2 36 classifiers=[
amine@331 37 "Development Status :: 3 - Alpha",
amine@331 38 "Environment :: Console",
amine@331 39 "Intended Audience :: Science/Research",
amine@331 40 "Intended Audience :: Developers",
amine@331 41 "Intended Audience :: Information Technology",
amine@331 42 "Intended Audience :: Telecommunications Industry",
amine@391 43 "License :: OSI Approved :: MIT License",
amine@331 44 "Operating System :: OS Independent",
amine@331 45 "Programming Language :: Python",
amine@340 46 "Programming Language :: Python :: 3.7",
amine@340 47 "Programming Language :: Python :: 3.8",
amine@376 48 "Programming Language :: Python :: 3.9",
amine@433 49 "Programming Language :: Python :: 3.10",
amine@433 50 "Programming Language :: Python :: 3.11",
amine@433 51 "Programming Language :: Python :: 3.12",
amine@433 52 "Programming Language :: Python :: 3.13",
amine@331 53 "Topic :: Multimedia :: Sound/Audio :: Analysis",
amine@331 54 "Topic :: Scientific/Engineering :: Information Analysis",
amine@2 55 ],
amine@331 56 entry_points={"console_scripts": ["auditok = auditok.cmdline:main"]},
amine@2 57 )