Skip to content

Commit

Permalink
Updated build enviroment
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Nov 10, 2017
1 parent ac81a6b commit 6acf1a1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 15 deletions.
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
*.pyc
*.cbz
*.cbr
*.spec
.idea
.DS_Store
.python-version
Thumbs.db
dist
Output
test
solaio
kindlegen*
*.spec
setup.bat
kindlecomicconverter/sentry.py
build/
.python-version
KindleComicConverter.egg-info/
4 changes: 1 addition & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ install:
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"
- "%PYTHON%\\python.exe -m pip install certifi PyInstaller"
- nuget install secure-file -ExcludeVersion
- nuget install verpatch -ExcludeVersion
- secure-file\tools\secure-file -decrypt other\windows\Cert.pfx.enc -secret %ENCRYPTION%
- secure-file\tools\secure-file -decrypt other\windows\sentry.py.enc -out kindlecomicconverter\sentry.py -secret %ENCRYPTION%

build_script:
- "%PYTHON%\\python.exe setup.py build_binary"

after_build:
- ps: Get-ChildItem .\dist\KindleComicConverter_win_* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- ps: Get-ChildItem .\dist\KCC* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

deploy:
provider: S3
Expand Down
Binary file removed other/windows/Cert.pfx.enc
Binary file not shown.
4 changes: 0 additions & 4 deletions setup.bat

This file was deleted.

4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ def run(self):
exit(0)
elif sys.platform == 'win32':
os.system('pyinstaller -y -F -i icons\comic2ebook.ico -n KCC -w --noupx kcc.py')
if os.getenv('APPVEYOR'):
if len(VERSION) == 3:
VERSION = VERSION + '.0'
os.system('setup.bat ' + VERSION)
exit(0)
else:
os.system('pyinstaller -y -F kcc.py')
Expand Down

0 comments on commit 6acf1a1

Please sign in to comment.