Skip to content

A real package #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2022
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
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