Skip to content

Commit

Permalink
readme and add 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
michelp committed Aug 28, 2021
1 parent a86aef6 commit 22c0877
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# postgresql-wheel

A Python wheel for Linux containing a locally installable PostgreSQL
database server.
A Python wheel for Linux containing a complete, self-contained,
locally installable PostgreSQL database server.

All servers run as the Python process user in a local path, so this
wheel does not require root or sudo privledges.
wheel does not require root or sudo privledges. Databases can be
initialized in any directory.

Servers can be setup and torn down in test fixtures with no additional
outside dependencies.

Currently this wheel only works for most flavors of Linux. MacOS and
maybe even Windows are doable... by someone else.
Currently this wheel only works for most flavors of Linux.

Postgres is compiled in the same "manylinux" environments provided by
the [cibuildwheel](https://cibuildwheel.readthedocs.io/en/stable/)
tool using [Github Actions]() and directly archived into the wheel's "package_data".
tool using [Github
Actions](https://github.com/michelp/postgresql-wheel/blob/main/.github/workflows/wheels.yml)
and directly archived into the wheel's "package_data".

The wheel can be installed with pip:

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ def package_files(directory):
package_data={"postgresql": package_files("postgresql")},
setup_requires=["cffi"],
cffi_modules=["postgresql/build.py:ffibuilder"],
python_requires=">=3.8,<3.9",
python_requires=">=3.7,<3.10",
)

0 comments on commit 22c0877

Please sign in to comment.