mirror of
https://github.com/quantum5/win2xcur.git
synced 2025-04-24 10:11:57 -04:00
upgrade to pyproject
- migrate to pyproject format - drop support for python <= 3.8 - add tests placeholder
This commit is contained in:
parent
8e71037f5f
commit
c52992f2b1
35
pyproject.toml
Normal file
35
pyproject.toml
Normal file
|
@ -0,0 +1,35 @@
|
|||
[project]
|
||||
name = "win2xcur"
|
||||
authors = [
|
||||
{name = "quantum", email = "quantum2048@gmail.com"},
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Environment :: Win32 (MS Windows)",
|
||||
"Environment :: X11 Applications",
|
||||
"Intended Audience :: End Users/Desktop",
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"Operating System :: Microsoft :: Windows",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Topic :: Desktop Environment",
|
||||
]
|
||||
requires-python = ">=3.9"
|
||||
dependencies = [
|
||||
"numpy >=1.2.12, <2.0.0",
|
||||
"Wand >=0.6.13, <1.0.0",
|
||||
]
|
||||
description = "win2xcur is a tool to convert Windows .cur and .ani cursors to Xcursor format."
|
||||
dynamic = ["version"]
|
||||
|
||||
[project.scripts]
|
||||
win2xcur = 'win2xcur.main.win2xcur:main'
|
||||
x2wincur = 'win2xcur.main.x2wincur:main'
|
||||
|
||||
[build-system]
|
||||
requires = ["flit_core >=3.2,<4"]
|
||||
build-backend = "flit_core.buildapi"
|
|
@ -1,2 +0,0 @@
|
|||
numpy
|
||||
Wand
|
44
setup.py
44
setup.py
|
@ -1,44 +0,0 @@
|
|||
import os
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name='win2xcur',
|
||||
version='0.1.2',
|
||||
packages=find_packages(),
|
||||
install_requires=['numpy', 'Wand'],
|
||||
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'win2xcur = win2xcur.main.win2xcur:main',
|
||||
'x2wincur = win2xcur.main.x2wincur:main',
|
||||
],
|
||||
},
|
||||
|
||||
author='quantum',
|
||||
author_email='quantum2048@gmail.com',
|
||||
url='https://github.com/quantum5/win2xcur',
|
||||
description='win2xcur is a tool to convert Windows .cur and .ani cursors to Xcursor format.',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
keywords='cur ani x11 windows win32 cursor xcursor',
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Environment :: Win32 (MS Windows)',
|
||||
'Environment :: X11 Applications',
|
||||
'Intended Audience :: End Users/Desktop',
|
||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
||||
'Operating System :: Microsoft :: Windows',
|
||||
'Operating System :: POSIX :: Linux',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3 :: Only',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Topic :: Desktop Environment',
|
||||
],
|
||||
)
|
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
2
tests/test_placeholder.py
Normal file
2
tests/test_placeholder.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
def test_placeholder() -> None:
|
||||
assert 1 == 1
|
|
@ -0,0 +1 @@
|
|||
__version__ = "0.2.0"
|
Loading…
Reference in a new issue