Sigh, switch to Pipenv
Currently, despite being clearly way better designed, Pyflow isn't quite practical because every time you run a Pyflow command, it messes with its own lockfile? Even if it doesn't try to install anything, it reorders the file and produces spurious Git diffs. Not good. I tried Poetry as well, but it's not as big an improvement over Pipenv as Pyflow would've been, so I'm gonna continue using Pipenv for the time being. Sigh.
This commit is contained in:
parent
7e0e25cfaa
commit
c0f8f1da38
4 changed files with 160 additions and 129 deletions
15
Pipfile
Normal file
15
Pipfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
[[source]]
|
||||
url = "https://pypi.org/simple"
|
||||
verify_ssl = true
|
||||
name = "pypi"
|
||||
|
||||
[packages]
|
||||
markovify = "*"
|
||||
beautifulsoup4 = "*"
|
||||
requests = "*"
|
||||
"Mastodon.py" = "*"
|
||||
|
||||
[dev-packages]
|
||||
|
||||
[requires]
|
||||
python_version = "3.9"
|
145
Pipfile.lock
generated
Normal file
145
Pipfile.lock
generated
Normal file
|
@ -0,0 +1,145 @@
|
|||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "ad94464cd6d572b2589337dbca94ba38690f5b8eb8ff89f1188e0cdb53d00e23"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
"python_version": "3.9"
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"name": "pypi",
|
||||
"url": "https://pypi.org/simple",
|
||||
"verify_ssl": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"default": {
|
||||
"beautifulsoup4": {
|
||||
"hashes": [
|
||||
"sha256:4c98143716ef1cb40bf7f39a8e3eec8f8b009509e74904ba3a7b315431577e35",
|
||||
"sha256:84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25",
|
||||
"sha256:fff47e031e34ec82bf17e00da8f592fe7de69aeea38be00523c04623c04fb666"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==4.9.3"
|
||||
},
|
||||
"blurhash": {
|
||||
"hashes": [
|
||||
"sha256:7611c1bc41383d2349b6129208587b5d61e8792ce953893cb49c38beeb400d1d",
|
||||
"sha256:da56b163e5a816e4ad07172f5639287698e09d7f3dc38d18d9726d9c1dbc4cee"
|
||||
],
|
||||
"version": "==1.1.4"
|
||||
},
|
||||
"certifi": {
|
||||
"hashes": [
|
||||
"sha256:2bbf76fd432960138b3ef6dda3dde0544f27cbf8546c458e60baf371917ba9ee",
|
||||
"sha256:50b1e4f8446b06f41be7dd6338db18e0990601dce795c2b1686458aa7e8fa7d8"
|
||||
],
|
||||
"version": "==2021.5.30"
|
||||
},
|
||||
"charset-normalizer": {
|
||||
"hashes": [
|
||||
"sha256:0c8911edd15d19223366a194a513099a302055a962bca2cec0f54b8b63175d8b",
|
||||
"sha256:f23667ebe1084be45f6ae0538e4a5a865206544097e4e8bbcacf42cd02a348f3"
|
||||
],
|
||||
"markers": "python_version >= '3'",
|
||||
"version": "==2.0.4"
|
||||
},
|
||||
"decorator": {
|
||||
"hashes": [
|
||||
"sha256:6e5c199c16f7a9f0e3a61a4a54b3d27e7dad0dbdde92b944426cb20914376323",
|
||||
"sha256:72ecfba4320a893c53f9706bebb2d55c270c1e51a28789361aa93e4a21319ed5"
|
||||
],
|
||||
"markers": "python_version >= '3.5'",
|
||||
"version": "==5.0.9"
|
||||
},
|
||||
"idna": {
|
||||
"hashes": [
|
||||
"sha256:14475042e284991034cb48e06f6851428fb14c4dc953acd9be9a5e95c7b6dd7a",
|
||||
"sha256:467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3"
|
||||
],
|
||||
"markers": "python_version >= '3'",
|
||||
"version": "==3.2"
|
||||
},
|
||||
"markovify": {
|
||||
"hashes": [
|
||||
"sha256:e31c6fcdf4ed12c8e00e39df735ffa0d5546f7515ff4c32e4e0ae23c41f9cba9"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==0.9.3"
|
||||
},
|
||||
"mastodon.py": {
|
||||
"hashes": [
|
||||
"sha256:2afddbad8b5d7326fcc8a8f8c62bfe956e34627f516b06c6694fc8c8fedc33ee",
|
||||
"sha256:cc454cac0ed1ae4f105f7399ea53f5b31a1be5075d1882f47162d2e78a9e4064"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==1.5.1"
|
||||
},
|
||||
"python-dateutil": {
|
||||
"hashes": [
|
||||
"sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86",
|
||||
"sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"
|
||||
],
|
||||
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
||||
"version": "==2.8.2"
|
||||
},
|
||||
"python-magic": {
|
||||
"hashes": [
|
||||
"sha256:4fec8ee805fea30c07afccd1592c0f17977089895bdfaae5fec870a84e997626",
|
||||
"sha256:de800df9fb50f8ec5974761054a708af6e4246b03b4bdaee993f948947b0ebcf"
|
||||
],
|
||||
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'",
|
||||
"version": "==0.4.24"
|
||||
},
|
||||
"pytz": {
|
||||
"hashes": [
|
||||
"sha256:83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da",
|
||||
"sha256:eb10ce3e7736052ed3623d49975ce333bcd712c7bb19a58b9e2089d4057d0798"
|
||||
],
|
||||
"version": "==2021.1"
|
||||
},
|
||||
"requests": {
|
||||
"hashes": [
|
||||
"sha256:6c1246513ecd5ecd4528a0906f910e8f0f9c6b8ec72030dc9fd154dc1a6efd24",
|
||||
"sha256:b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==2.26.0"
|
||||
},
|
||||
"six": {
|
||||
"hashes": [
|
||||
"sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
|
||||
"sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
|
||||
],
|
||||
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
||||
"version": "==1.16.0"
|
||||
},
|
||||
"soupsieve": {
|
||||
"hashes": [
|
||||
"sha256:052774848f448cf19c7e959adf5566904d525f33a3f8b6ba6f6f8f26ec7de0cc",
|
||||
"sha256:c2c1c2d44f158cdbddab7824a9af8c4f83c76b1e23e049479aa432feb6c4c23b"
|
||||
],
|
||||
"markers": "python_version >= '3'",
|
||||
"version": "==2.2.1"
|
||||
},
|
||||
"unidecode": {
|
||||
"hashes": [
|
||||
"sha256:12435ef2fc4cdfd9cf1035a1db7e98b6b047fe591892e81f34e94959591fad00",
|
||||
"sha256:8d73a97d387a956922344f6b74243c2c6771594659778744b2dbdaad8f6b727d"
|
||||
],
|
||||
"version": "==1.2.0"
|
||||
},
|
||||
"urllib3": {
|
||||
"hashes": [
|
||||
"sha256:39fb8672126159acb139a7718dd10806104dec1e2f0f6c88aab05d17df10c8d4",
|
||||
"sha256:f57b4c16c62fa2760b7e3d97c35b255512fb6b59a259730f36ba32ce9f8e342f"
|
||||
],
|
||||
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'",
|
||||
"version": "==1.26.6"
|
||||
}
|
||||
},
|
||||
"develop": {}
|
||||
}
|
113
pyflow.lock
113
pyflow.lock
|
@ -1,113 +0,0 @@
|
|||
[[package]]
|
||||
id = 13
|
||||
name = "pytz"
|
||||
version = "2016.1"
|
||||
source = "pypi+https://pypi.org/pypi/pytz/2016.1/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 2
|
||||
name = "Unidecode"
|
||||
version = "1.2.0"
|
||||
source = "pypi+https://pypi.org/pypi/Unidecode/1.2.0/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 11
|
||||
name = "idna"
|
||||
version = "2.10"
|
||||
source = "pypi+https://pypi.org/pypi/idna/2.10/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 12
|
||||
name = "chardet"
|
||||
version = "3.0.4"
|
||||
source = "pypi+https://pypi.org/pypi/chardet/3.0.4/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 3
|
||||
name = "beautifulsoup4"
|
||||
version = "4.9.1"
|
||||
source = "pypi+https://pypi.org/pypi/beautifulsoup4/4.9.1/json"
|
||||
dependencies = ["soupsieve 1.9.6 pypi+https://pypi.org/pypi/soupsieve/1.9.6/json"]
|
||||
|
||||
[[package]]
|
||||
id = 16
|
||||
name = "six"
|
||||
version = "1.16.0"
|
||||
source = "pypi+https://pypi.org/pypi/six/1.16.0/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 10
|
||||
name = "urllib3"
|
||||
version = "1.25.11"
|
||||
source = "pypi+https://pypi.org/pypi/urllib3/1.25.11/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 6
|
||||
name = "blurhash"
|
||||
version = "1.1.4"
|
||||
source = "pypi+https://pypi.org/pypi/blurhash/1.1.4/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 15
|
||||
name = "python-dateutil"
|
||||
version = "2.8.2"
|
||||
source = "pypi+https://pypi.org/pypi/python-dateutil/2.8.2/json"
|
||||
dependencies = ["six 1.16.0 pypi+https://pypi.org/pypi/six/1.16.0/json"]
|
||||
|
||||
[[package]]
|
||||
id = 5
|
||||
name = "Mastodon.py"
|
||||
version = "1.5.1"
|
||||
source = "pypi+https://pypi.org/pypi/Mastodon.py/1.5.1/json"
|
||||
dependencies = ["python-magic 0.4.24 pypi+https://pypi.org/pypi/python-magic/0.4.24/json", "blurhash 1.1.4 pypi+https://pypi.org/pypi/blurhash/1.1.4/json", "pytz 2016.1 pypi+https://pypi.org/pypi/pytz/2016.1/json", "python-dateutil 2.8.2 pypi+https://pypi.org/pypi/python-dateutil/2.8.2/json", "decorator 5.0.9 pypi+https://pypi.org/pypi/decorator/5.0.9/json"]
|
||||
|
||||
[[package]]
|
||||
id = 9
|
||||
name = "certifi"
|
||||
version = "2021.5.30"
|
||||
source = "pypi+https://pypi.org/pypi/certifi/2021.5.30/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 1
|
||||
name = "markovify"
|
||||
version = "0.8.2"
|
||||
source = "pypi+https://pypi.org/pypi/markovify/0.8.2/json"
|
||||
dependencies = ["Unidecode 1.2.0 pypi+https://pypi.org/pypi/Unidecode/1.2.0/json"]
|
||||
|
||||
[[package]]
|
||||
id = 17
|
||||
name = "decorator"
|
||||
version = "5.0.9"
|
||||
source = "pypi+https://pypi.org/pypi/decorator/5.0.9/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 18
|
||||
name = "requests"
|
||||
version = "2.24.0"
|
||||
source = "pypi+https://pypi.org/pypi/requests/2.24.0/json"
|
||||
dependencies = ["urllib3 1.25.11 pypi+https://pypi.org/pypi/urllib3/1.25.11/json", "idna 2.10 pypi+https://pypi.org/pypi/idna/2.10/json", "certifi 2021.5.30 pypi+https://pypi.org/pypi/certifi/2021.5.30/json", "chardet 3.0.4 pypi+https://pypi.org/pypi/chardet/3.0.4/json"]
|
||||
|
||||
[[package]]
|
||||
id = 4
|
||||
name = "soupsieve"
|
||||
version = "1.9.6"
|
||||
source = "pypi+https://pypi.org/pypi/soupsieve/1.9.6/json"
|
||||
dependencies = []
|
||||
|
||||
[[package]]
|
||||
id = 14
|
||||
name = "python-magic"
|
||||
version = "0.4.24"
|
||||
source = "pypi+https://pypi.org/pypi/python-magic/0.4.24/json"
|
||||
dependencies = []
|
||||
|
||||
[metadata]
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
[tool.pyflow]
|
||||
name = "mstdn-ebooks"
|
||||
py_version = "3.9"
|
||||
version = "0.1.0"
|
||||
|
||||
[tool.pyflow.scripts]
|
||||
|
||||
[tool.pyflow.dependencies]
|
||||
"Mastodon.py" = "1.5.1"
|
||||
markovify = "0.8.2"
|
||||
beautifulsoup4 = "4.9.1"
|
||||
requests = "2.24.0"
|
||||
|
||||
[tool.pyflow.dev-dependencies]
|
||||
|
Loading…
Reference in a new issue