You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,20 @@ Pyvec homepage.
4
4
5
5
## Installation
6
6
7
-
The code is **Python 3.9**
7
+
The code is **Python 3.14**
8
8
9
9
```sh
10
-
$ pipenv install
10
+
$ uv sync
11
11
```
12
12
13
13
## Development
14
14
15
15
The site uses [elsa](https://github.com/pyvec/elsa).
16
16
17
-
- Installation: `pipenv install --dev`
18
-
- Download data from external sources: `pipenv run build`
19
-
- Tests: `pipenv run test`
20
-
- Development server: `pipenv run serve`
17
+
- Installation: `uv sync`
18
+
- Download data from external sources: `uv run python -m pyvecorg build`
19
+
- Tests: `uv run pytest`
20
+
- Development server: `uv run python -m pyvecorg serve`
21
21
22
22
### Data and tests
23
23
@@ -39,21 +39,21 @@ logical rules which cannot be easily expressed by JSON Schema.
39
39
### External sources
40
40
41
41
Some data cannot be stored statically in a YAML file. There is a command
42
-
`pipenv run build`, which downloads them from external sources and generates
42
+
`uv run python -m pyvecorg build`, which downloads them from external sources and generates
43
43
respective static YAML files. This is a separate step, which needs to be done
44
44
before developing or deploying the site, otherwise it won't work properly.
45
45
46
46
### Members
47
47
48
48
Pyvec members are tracked in an internal Google Spreadsheet. The future
49
49
intention is to have the list of members public, but we're not there yet (GDPR).
50
-
So far only board members are being listed publicly. The `pipenv run build`
50
+
So far only board members are being listed publicly. The `uv run python -m pyvecorg build`
51
51
command downloads the spreadsheet as CSV and generates the `members_list.yml`
52
52
file. It also downloads and caches avatars.
53
53
54
54
### Numbers
55
55
56
-
There are stats numbers in [numbers.yml](pyvecorg/data/numbers.yml). They are
56
+
There are stats numbers in [numbers.yml](src/pyvecorg/data/numbers.yml). They are
57
57
not calculated on the fly, because for many of them it's either complicated
58
58
or impossible. They need to be updated manually from time to time. Comments
59
59
in the YAML file should give you guidance on when the last update has happened.
@@ -71,7 +71,7 @@ the number,
71
71
1. Follow the steps in the [gspread guide](https://gspread.readthedocs.io/en/latest/oauth2.html). Instead of Google Drive API, enable Google Sheets API.
72
72
1. Save the obtained JSON file into the `pyvecorg` package as `google_service_account.json`
73
73
1. Make sure it is ignored by Git
74
-
1. Run `cat pyvecorg/google_service_account.json | pbcopy` to copy the JSON into your clipboard (macOS)
74
+
1. Run `cat src/pyvecorg/google_service_account.json | pbcopy` to copy the JSON into your clipboard (macOS)
75
75
1. Go to [settings of secrets](https://github.com/pyvec/pyvec.org/settings/secrets)
76
76
1. Add `GOOGLE_SERVICE_ACCOUNT` secret and paste the JSON from your clipboard as a value
0 commit comments