master
emdee 3 months ago
parent 5e99216cf2
commit 55e7da35f4

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

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

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

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

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 384 B

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 375 B

Before

Width:  |  Height:  |  Size: 813 B

After

Width:  |  Height:  |  Size: 813 B

Before

Width:  |  Height:  |  Size: 597 B

After

Width:  |  Height:  |  Size: 597 B

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 713 B

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 596 B

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Loading…
Cancel
Save