Skip to content

Commit 02a634c

Browse files
author
Elia Robyn Lake
committed
update setup.py and README text about it
1 parent bb5ce5d commit 02a634c

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,12 @@ ftfy is a Python 3 package that can be installed using `pip`:
8787
(Or use `pip3 install ftfy` on systems where Python 2 and 3 are both globally
8888
installed and `pip` refers to Python 2.)
8989

90-
You can also clone this Git repository and install it with
91-
`python setup.py install`.
90+
### Local development
91+
92+
ftfy is developed using `poetry`. Its `setup.py` is vestigial and is not the
93+
recommended way to install it.
94+
95+
[Install Poetry](https://python-poetry.org/docs/master/#installing-with-the-official-installer), check out this repository, and run `poetry install` to install ftfy for local development, such as experimenting with the heuristic or running tests.
9296

9397
## Who maintains ftfy?
9498

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ftfy"
3-
version = "6.1.0.post1"
3+
version = "6.1.1"
44
description = "Fixes mojibake and other problems with Unicode, after the fact"
55
authors = ["Robyn Speer <[email protected]>"]
66
license = "MIT"

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
setup(
2323
name="ftfy",
24-
version='6.1.0',
24+
version='6.1.1',
2525
maintainer='Robyn Speer',
2626
maintainer_email='[email protected]',
2727
license="MIT",
@@ -33,10 +33,9 @@
3333
packages=['ftfy', 'ftfy.bad_codecs'],
3434
install_requires=['wcwidth'],
3535
tests_require=['pytest'],
36-
python_requires='>=3.6',
36+
python_requires='>=3.7',
3737
classifiers=[
3838
"Programming Language :: Python :: 3",
39-
"Programming Language :: Python :: 3.6",
4039
"Programming Language :: Python :: 3.7",
4140
"Programming Language :: Python :: 3.8",
4241
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)