Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite291d94

Browse files
authored
Merge pull request#7 from postgresml/levkk-pgml
A real package
2 parents135e199 +7405881 commite291d94

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

‎Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY --chown=postgres:postgres . /app
1010
WORKDIR /app/pgml
1111

1212
# Install pgml extension globally.
13-
RUNpython3 setup.pyinstall
13+
RUNpip3install pgml
1414

1515
# Listen on 0.0.0.0 and allow 'root' to connect without a password.
1616
# Please modify for production deployments accordingly.

‎pgml/pgml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
defversion():
2-
return"0.1"
2+
return"0.3"

‎pgml/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
importsetuptools
2+
frompgmlimportversion
23

34
withopen("README.md","r")asfh:
45
long_description=fh.read()
56

67
setuptools.setup(
78
name="pgml",
8-
version="0.1",
9+
version=version(),
910
author="PostgresML",
1011
author_email="hello@postgresml.com",
1112
description="Run machine learning inside Postgres.",
1213
long_description=long_description,
1314
long_description_content_type="text/markdown",
14-
url="https://github.com/levkk/postgresml",
15+
url="https://github.com/postgresml/postgresml",
1516
install_requires=[
1617
"sklearn",
1718
],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp