This commit is contained in:
emdee 2024-02-20 01:41:18 +00:00
parent 5e99216cf2
commit 55e7da35f4
38 changed files with 16 additions and 13 deletions

View File

@ -58,7 +58,7 @@ install-setup::
install-pip::
# we install --nodeps because pip is installing stuff we already have in the OS
${PIP_EXE_MSYS} --python ${PYTHON_EXE_MSYS} install \
--no-deps --no-index \
--no-deps \
--target ${PREFIX}/lib/python${PYTHON_MINOR}/site-packages/ \
--upgrade .

View File

@ -28,9 +28,6 @@ classifiers = [
]
dynamic = ["version", "readme", "dependencies"] # cannot be dynamic ['license']
[project.scripts]
qweechat = "qweechat:iMain"
[project.license]
file = "COPYING"
@ -48,6 +45,8 @@ version = {attr = "qweechat.version.VERSION"}
readme = {file = ["README.md"]}
dependencies = {file = ["requirements.txt"]}
[tool.setuptools]
packages = ["qweechat", "qweechat.weechat"]
#[tool.setuptools]
#packages = ["qweechat", "qweechat.weechat"]
#[tool.setuptools.packages.find]
#where=src

View File

@ -17,21 +17,24 @@ classifiers =
[options]
zip_safe = false
python_requires = ~=3.7
python_requires = >= 3.7
package_dir=
=.
packages=find:
=src
# find:
packages =
qweechat
qweechat.weechat
[options.package_data]
qweechat =
data/icons/*.png
[options.entry_points]
console_scripts =
gui_scripts =
qweechat = "qweechat:iMain"
#[options.packages.find]
#where=.
#xwhere=src
[easy_install]
zip_ok = false

View File

@ -44,12 +44,12 @@ setup(
'Programming Language :: Python',
'Topic :: Communications :: Chat',
],
packages=['qweechat', 'qweechat.weechat'],
packages=['qweechat', 'qweechat.weechat', 'qweechat.data.icons'],
include_package_data=True,
package_data={'qweechat': ['data/icons/*.png']},
entry_points={
'gui_scripts': [
'qweechat = qweechat.qweechat:main',
'qweechat = qweechat.qweechat:iMain',
],
'console_scripts': [
'qweechat-testproto = qweechat.weechat.testproto:main',
@ -57,6 +57,7 @@ setup(
},
install_requires=[
'PyQt5',
'qtconsole',
],
zip_safe = False,
)

0
src/__init__.py Normal file
View File

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 384 B

View File

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 375 B

View File

Before

Width:  |  Height:  |  Size: 813 B

After

Width:  |  Height:  |  Size: 813 B

View File

Before

Width:  |  Height:  |  Size: 597 B

After

Width:  |  Height:  |  Size: 597 B

View File

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 713 B

View File

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 596 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB