2 次代碼提交 2f0ffa47fe ... 1488f7bba8

作者 SHA1 備註 提交日期
  txtsd 1488f7bba8 feat: Remove Pipfile and requirements.txt 2 年之前
  txtsd a5bad8944c chore(readme): Update info about poetry 2 年之前
共有 4 個文件被更改,包括 10 次插入26 次删除
  1. 0 14
      Pipfile
  2. 10 7
      README.md
  3. 0 3
      requirements-dev.txt
  4. 0 2
      requirements.txt

+ 0 - 14
Pipfile

@@ -1,14 +0,0 @@
-[[source]]
-url = "https://pypi.org/simple"
-verify_ssl = true
-name = "pypi"
-
-[packages]
-requests = "2.26.0"
-appdirs = "1.4.4"
-
-[dev-packages]
-nuitka = "0.6.18.1"
-
-[requires]
-python_version = "3.9"

+ 10 - 7
README.md

@@ -20,33 +20,36 @@ If sourcehut is not feasible, contribution is welcome from across mirrors.
 
 ## Installation and usage
 
-Download a binary from the latest release for your platform on [the refs page](https://git.sr.ht/~txtsd/mcrpc/refs).
+Download a binary from the latest tag for your platform on [the refs page](https://git.sr.ht/~txtsd/mcrpc/refs).
 Each tag has binaries attached.
+
 NOTE: Release artifacts are built on GitHub due to cross-platform CI runner limitations on sourcehut.
 
 Double-click it, or launch it via your terminal of choice.
 Follow the prompts, and you will get a list of missing resources.
 
+If you prefer running a python script over a binary, follow the development instructions instead.
+
 ## Development
 Clone the repo
 
 ```
 git clone https://git.sr.ht/~txtsd/mcrpc
+cd mcrpc
 ```
 
-You will need [Python](https://www.python.org/)
+You will need [`python`](https://www.python.org/) and [`python-poetry`](https://python-poetry.org/)
 
-Install the dependencies:
+Install the dependencies into a virtual environment:
 
 ```
-pip install -r requirements.txt
+poetry install
 ```
 
-Or if you have [pipenv](https://github.com/pypa/pipenv) (preferred), install the pipenv environment and dependencies:
+Load the virtual environment created by `poetry`:
 
 ```
-pipenv install
-pipenv shell
+poetry shell
 ```
 
 Finally, run

+ 0 - 3
requirements-dev.txt

@@ -1,3 +0,0 @@
-requests==2.26.0
-appdirs==1.4.4
-nuitka==0.6.18.1

+ 0 - 2
requirements.txt

@@ -1,2 +0,0 @@
-requests==2.26.0
-appdirs==1.4.4