kindle manager
This commit is contained in:
BIN
classes.png
BIN
classes.png
Binary file not shown.
|
Before Width: | Height: | Size: 5.4 MiB |
BIN
dist/.DS_Store
vendored
Normal file
BIN
dist/.DS_Store
vendored
Normal file
Binary file not shown.
6
kman.py
6
kman.py
@@ -139,7 +139,7 @@ class kMan:
|
||||
|
||||
def parse_section(self,s,i):
|
||||
"""parse section
|
||||
|
||||
|
||||
Args:
|
||||
s: section line list
|
||||
i: section index
|
||||
@@ -301,7 +301,7 @@ class kMan:
|
||||
xx,xx,xx,xx,xx
|
||||
|
||||
marktime: 20200403 PM 3:0:3 星期五
|
||||
|
||||
|
||||
Args:
|
||||
bks: books dict
|
||||
f: can be 'MD'/'JSON'/'CSV'
|
||||
@@ -335,7 +335,7 @@ class kMan:
|
||||
xx,xx,xx,xx,xx
|
||||
|
||||
marktime: 20200403 PM 3:0:3 星期五
|
||||
|
||||
|
||||
Args:
|
||||
bks: books dict
|
||||
f: can be 'MD'/'JSON'/'CSV'
|
||||
|
||||
BIN
kmanapp.ico
Normal file
BIN
kmanapp.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
@@ -54,5 +54,6 @@
|
||||
<file>icons/book.png</file>
|
||||
<file>icons/amazon.png</file>
|
||||
<file>icons/flower.png</file>
|
||||
<file>kman.ico</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
37
kmanapp.spec
Normal file
37
kmanapp.spec
Normal file
@@ -0,0 +1,37 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
||||
a = Analysis(['kmanapp.py'],
|
||||
pathex=['/Users/mark/kman'],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
cipher=block_cipher,
|
||||
noarchive=False)
|
||||
pyz = PYZ(a.pure, a.zipped_data,
|
||||
cipher=block_cipher)
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='kmanapp',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=True )
|
||||
coll = COLLECT(exe,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='kmanapp')
|
||||
1160
kmanapp_rc.py
1160
kmanapp_rc.py
File diff suppressed because it is too large
Load Diff
@@ -22,6 +22,7 @@ class Ui_MainWindow(object):
|
||||
if not MainWindow.objectName():
|
||||
MainWindow.setObjectName(u"MainWindow")
|
||||
MainWindow.resize(774, 410)
|
||||
MainWindow.setIconSize(QSize(40, 40))
|
||||
self.actionimportlocal = QAction(MainWindow)
|
||||
self.actionimportlocal.setObjectName(u"actionimportlocal")
|
||||
icon = QIcon()
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
<property name="windowTitle">
|
||||
<string>Kindle Management</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
|
||||
BIN
packages.png
BIN
packages.png
Binary file not shown.
|
Before Width: | Height: | Size: 99 KiB |
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
PySide2==5.15.0
|
||||
pandas==1.0.3
|
||||
requests==2.23.0
|
||||
21
setup.py
Normal file
21
setup.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
This is a setup.py script generated by py2applet
|
||||
|
||||
Usage:
|
||||
python setup.py py2app
|
||||
"""
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
APP = ['kmanapp.py']
|
||||
DATA_FILES = ['kman.py', 'kmanapp.py', 'kmanapp_rc.py', 'mainwindow.py', 'parseweb.py', 'unitest.kman.py']
|
||||
OPTIONS = {'includes':['PySide2', 'pandas', 'requests',],
|
||||
'iconfile':'/Users/mark/kman/kmanapp.ico'}
|
||||
|
||||
setup(
|
||||
app=APP,
|
||||
data_files=DATA_FILES,
|
||||
options={'py2app': OPTIONS},
|
||||
setup_requires=['py2app'],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user