joshy / striprtf

Stripping rtf to plain old text
http://striprtf.dev
BSD 3-Clause "New" or "Revised" License
94 stars 27 forks source link

Installation error: syntax erron in setup.py file #7

Closed kappafix closed 4 years ago

kappafix commented 4 years ago

During the install ov the version "striprtf-0.0.7"using pip or also manually there's a syntax error into setup.py that stops the installation: the error is at the line: download_url=f"https://github.com/joshy/striprtf/archive/v{about['__version__']}.tar.gz", I solved the problem as followings: download_url=r"https://github.com/joshy/striprtf/archive/v{about['__version__']}.tar.gz", and installing manually. Thaks guys, very good library.

joshy commented 4 years ago

Hi kappafix, are you using python2? Because f-strings (f"") are only available since 3.6.

kappafix commented 4 years ago

Hi, I’m using the 3.4 version.

joshy commented 4 years ago

I will fix that in the next version. Don’t want to enforce 3.6. Thanks for the report.

-- Sent from phone

On 20 Feb 2020, at 19:16, kappafix notifications@github.com wrote:

 Hi, I’m using the 3.4 version.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

joshy commented 4 years ago

Fixed with v0.0.8