Skip to content

Commit ab74ce3

Browse files
committed
PyPI listing fixes
1 parent 465d929 commit ab74ce3

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
PyPlucker.egg-info
2+
dist

PyPlucker/ImageParser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class PillowImageParser(ImageParser):
336336

337337
def __init__(self, url, type, data, config, attribs, compress=1):
338338
from PIL import Image
339-
import PalmImagePlugin
339+
import PyPlucker.PalmImagePlugin
340340

341341
ImageParser.__init__(self, url, type, data, config, attribs)
342342
try:
@@ -348,7 +348,7 @@ def __init__(self, url, type, data, config, attribs, compress=1):
348348
raise RuntimeError("Error while opening image " + self._url + " with PIL")
349349

350350
def _convert_to_Tbmp(self, im, pil_mode, bpp):
351-
from PalmImagePlugin import Palm8BitColormapImage
351+
from PyPlucker.PalmImagePlugin import Palm8BitColormapImage
352352

353353
palmdata = io.BytesIO()
354354
if pil_mode == "1" or bpp == 1:

PyPlucker/Writer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"""
1616

1717

18-
import os, struct, string, time, helper.PQAAppInfo, sys, urllib.request, urllib.parse, urllib.error, functools
18+
import os, struct, string, time, PyPlucker.helper.PQAAppInfo, sys, urllib.request, urllib.parse, urllib.error, functools
1919
import PyPlucker
2020
from PyPlucker import Url, PluckerDocs
2121
#from PyPlucker.helper import dict
@@ -557,11 +557,11 @@ def write (self, verbose, alias_list, mapping=None):
557557
info['flagBackup'] = self._flag_backup
558558
if self._icon:
559559
self._pdb_file.setAppBlock( \
560-
helper.PQAAppInfo.pqa_app_info_block(self._config, \
561-
self._dbname, \
562-
self._dbversion, \
563-
self._big_icon, \
564-
self._small_icon))
560+
PQAAppInfo.pqa_app_info_block(self._config, \
561+
self._dbname, \
562+
self._dbversion, \
563+
self._big_icon, \
564+
self._small_icon))
565565
self._pdb_file.setDBInfo (info)
566566

567567
# Now call the super class to do the actual work

PyPlucker/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.0"
1+
__version__ = "3.4"
22

33
lib_dir = "/usr/local/etc"
44

bin/plucker-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env python3
22
from PyPlucker.Spider import realmain
3-
realmain()
3+
realmain(None)

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
from setuptools import setup, find_packages
23

34
def get_version(fname=os.path.join('PyPlucker', '__init__.py')):
@@ -21,6 +22,7 @@ def get_long_description():
2122
'Pillow',
2223
],
2324
scripts=["bin/plucker-build"],
25+
packages=find_packages('.'),
2426
description='Web and document parser, converter and scraper for Plucker, the Palm OS app',
2527
long_description=get_long_description(),
2628
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)