Skip to content

Add setup.py for packaging#32

Merged
liuxiaocs7 merged 6 commits intomainfrom
package
Mar 15, 2024
Merged

Add setup.py for packaging#32
liuxiaocs7 merged 6 commits intomainfrom
package

Conversation

@simon824
Copy link
Member

@simon824 simon824 commented Mar 8, 2024

We can test python packages through step1+step2.

step 1: manually install dependencies (this step is not required after release)

Since dependencies with specified version numbers in the test-pypi repository may be missing, we need to manually install the dependencies first.

pip3 install -r requirement.txt
  • requirement.txt
openai==0.28.1
retry==0.9.2
tiktoken==0.5.1
nltk==3.8.1
gradio==4.19.2

decorator==5.1.1
requests==2.31.0
setuptools==67.6.1
urllib3==2.0.7

step 2: install hugegraph-python,hugegraph-llm

After that, we can install hugegraph-python,hugegraph-llm through the following command.

pip install -i https://test.pypi.org/simple/ hugegraph-python==1.3.0.2
pip install -i https://test.pypi.org/simple/ hugegraph-llm==1.3.0.2

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Mar 8, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has totally checked 108 files.

Valid Invalid Ignored Fixed
86 4 18 0
Click to see the invalid file list
  • hugegraph-llm/MANIFEST.in
  • hugegraph-llm/setup.py
  • hugegraph-python-client/init.py
  • hugegraph-python-client/setup.py

Copy link
Contributor

@liuxiaocs7 liuxiaocs7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, i test ok by following the steps with some tiny comments

@liuxiaocs7 liuxiaocs7 merged commit b878fe8 into main Mar 15, 2024
@liuxiaocs7 liuxiaocs7 deleted the package branch March 15, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants