Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from Jaseci-Labs/version_and_name
Browse files Browse the repository at this point in the history
Relax dependency version. Change package name.
  • Loading branch information
ypkang authored Sep 5, 2024
2 parents 1113c58 + d305ed9 commit e200e8a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 35 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Release to PyPI

on:
push:
tags:
- 'v*.*.*'
on: workflow_dispatch
# on:
# push:
# tags:
# - 'v*.*.*'

jobs:
release:
Expand All @@ -24,13 +25,13 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Extract version from tag
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
# - name: Extract version from tag
# id: get_version
# run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}

- name: Update version in setup.py
run: |
sed -i 's/VERSION = ".*"/VERSION = "${{ steps.get_version.outputs.VERSION }}"/' setup.py
# - name: Update version in setup.py
# run: |
# sed -i 's/VERSION = ".*"/VERSION = "${{ steps.get_version.outputs.VERSION }}"/' setup.py

- name: Build package
run: python setup.py sdist bdist_wheel
Expand Down
50 changes: 25 additions & 25 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,35 @@

from setuptools import find_packages, setup

VERSION = "0.2.0"
VERSION = "0.1.0"

setup(
name="jaclang-jaseci",
name="jac-cloud",
version=VERSION,
packages=find_packages(include=["jaclang_jaseci", "jaclang_jaseci.*"]),
install_requires=[
"jaclang==0.7.18",
"fastapi==0.111.0",
"pydantic==2.8.2",
"pymongo==4.8.0",
"motor==3.5.0",
"motor-types==1.0.0b4",
"python-dotenv==1.0.1",
"uvicorn==0.30.1",
"pyjwt[crypto]==2.8.0",
"passlib==1.7.4",
"types-passlib==1.7.7.20240327",
"email-validator==2.2.0",
"orjson==3.10.6",
"redis==5.0.7",
"types-redis==4.6.0.20240425",
"python-multipart==0.0.9",
"httpx==0.27.0",
"sendgrid==6.11.0",
"fastapi-sso==0.15.0",
"google-auth==2.32.0",
"asyncer==0.0.8",
"fakeredis==2.24.1",
"jaclang~=0.7.17",
"fastapi~=0.111.0",
"pydantic~=2.8.2",
"pymongo~=4.8.0",
"motor~=3.5.0",
"motor-types~=1.0.0b4",
"python-dotenv~=1.0.1",
"uvicorn~=0.30.1",
"pyjwt[crypto]~=2.8.0",
"passlib~=1.7.4",
"types-passlib~=1.7.7.20240327",
"email-validator~=2.2.0",
"orjson~=3.10.6",
"redis~=5.0.7",
"types-redis~=4.6.0.20240425",
"python-multipart~=0.0.9",
"httpx~=0.27.0",
"sendgrid~=6.11.0",
"fastapi-sso~=0.15.0",
"google-auth~=2.32.0",
"asyncer~=0.0.8",
"fakeredis~=2.24.1",
],
package_data={},
entry_points={
Expand All @@ -41,5 +41,5 @@
},
author="Jason Mars",
author_email="[email protected]",
url="https://github.com/Jaseci-Labs/jaclang",
url="https://github.com/Jaseci-Labs/jac-cloud",
)

0 comments on commit e200e8a

Please sign in to comment.