Skip to content

Commit

Permalink
Windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sinistro14 committed Jul 28, 2019
1 parent fe7afde commit 4bd9d2d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PDF compress tool, using iLovePDF API

## Prerequisites
The application is compatible with Windows and Linux based systems.
Python version 3.4 or above is assumed to be installed, as well as pip package manager utility and setuptools module.
Python version 3.5 or above is assumed to be installed, as well as pip package manager utility and setuptools module.

## Installation
```bash
Expand All @@ -27,15 +27,20 @@ The value can be configured using:
```bash
pdfworkshop config public_key new_public_key_value
```
The input/ouput directories can also be configured.
Their default values are set to a directory called 'input' and 'output'
according to the current path from where the tool was called.
The input/ouput directories can also be configured, although not advised.
Their default values are set to the current directory and another _output_ directory,
according to the path from where the tool was called.

## Commands
- list-config - list tool configuration values
- config \<option\> \<value\> - edit tool configuration values
- run - compress all PDF files stored in input_dir, storing the result in output_dir

## How to use
By default, the PDF files to compress should be on the directory from where the tool will be called.
After using the _run_ command, an _output_ directory will be created, where all compressed
files will be stored.

## Example run

To exercise some of the available commands, one can try to:
Expand Down
2 changes: 1 addition & 1 deletion pdfworkshop/config.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[DEFAULT]
input_dir = ./input/
input_dir = ./
output_dir = ./output/

[User]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages

__application__ = 'pdfworkshop'
__version__ = '1.0.0'
__version__ = '1.0.1'

setup(
name=__application__,
Expand Down

0 comments on commit 4bd9d2d

Please sign in to comment.