🌐 AI搜索 & 代理 主页
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
A real package
  • Loading branch information
levkk committed Apr 16, 2022
commit 7405881d378c9a0069a98a6966f63ab2e0d633fe
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY --chown=postgres:postgres . /app
WORKDIR /app/pgml

# Install pgml extension globally.
RUN python3 setup.py install
RUN pip3 install pgml

# Listen on 0.0.0.0 and allow 'root' to connect without a password.
# Please modify for production deployments accordingly.
Expand Down
2 changes: 1 addition & 1 deletion pgml/pgml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def version():
return "0.1"
return "0.3"
5 changes: 3 additions & 2 deletions pgml/setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import setuptools
from pgml import version

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="pgml",
version="0.1",
version=version(),
author="PostgresML",
author_email="hello@postgresml.com",
description="Run machine learning inside Postgres.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/levkk/postgresml",
url="https://github.com/postgresml/postgresml",
install_requires=[
"sklearn",
],
Expand Down