mirror of
https://github.com/romanz/amodem.git
synced 2026-03-06 23:05:57 +08:00
Switch to pyproject.toml
This commit is contained in:
37
pyproject.toml
Normal file
37
pyproject.toml
Normal file
@@ -0,0 +1,37 @@
|
||||
[project]
|
||||
name = "amodem"
|
||||
version = "1.15.7"
|
||||
authors = [
|
||||
{ name="Roman Zeyde", email="dev@romanzey.de" },
|
||||
]
|
||||
description = "Audio Modem Communication Library"
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
requires-python = ">=3.7"
|
||||
dependencies = [
|
||||
"numpy",
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: Information Technology",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: POSIX",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"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",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
"Topic :: System :: Networking",
|
||||
"Topic :: Communications",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
amodem = "amodem.__main__:_main"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/romanz/amodem"
|
||||
Issues = "https://github.com/romanz/amodem/issues"
|
||||
47
setup.py
47
setup.py
@@ -1,47 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools.command.test import test as TestCommand
|
||||
|
||||
class PyTest(TestCommand):
|
||||
|
||||
def finalize_options(self):
|
||||
self.test_args = []
|
||||
self.test_suite = True
|
||||
|
||||
def run_tests(self):
|
||||
import sys
|
||||
import pytest
|
||||
sys.exit(pytest.main(['.']))
|
||||
|
||||
setup(
|
||||
name='amodem',
|
||||
version='1.15.6',
|
||||
description='Audio Modem Communication Library',
|
||||
author='Roman Zeyde',
|
||||
author_email='dev@romanzey.de',
|
||||
license='MIT',
|
||||
url='http://github.com/romanz/amodem',
|
||||
packages=find_packages(),
|
||||
tests_require=['pytest'],
|
||||
cmdclass={'test': PyTest},
|
||||
install_requires=['numpy'],
|
||||
platforms=['POSIX'],
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Information Technology',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Operating System :: POSIX',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'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',
|
||||
'Programming Language :: Python :: 3.13',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
'Topic :: System :: Networking',
|
||||
'Topic :: Communications',
|
||||
],
|
||||
entry_points={'console_scripts': ['amodem = amodem.__main__:_main']},
|
||||
)
|
||||
Reference in New Issue
Block a user