diff --git a/package.json b/package.json index 97c17835..525503c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chatie/grpc", - "version": "0.15.1", + "version": "0.15.2", "description": "gRPC for Chatie", "main": "dist/src/index.js", "typings": "dist/src/index.d.js", diff --git a/python/generate.sh b/python/generate.sh index 69d91866..441514e5 100755 --- a/python/generate.sh +++ b/python/generate.sh @@ -8,9 +8,9 @@ shopt -s globstar # # Directory to write generated code to (.js and .d.ts files) -OUT_DIR="./chatie-grpc" +OUT_DIR="./src/chatie-grpc" [ -d ${OUT_DIR} ] || { - mkdir ${OUT_DIR} + mkdir -p ${OUT_DIR} } ./merge-proto.sh > "$OUT_DIR/chatie-grpc.proto" diff --git a/python/setup.py b/python/setup.py index fd84460d..2be4079d 100644 --- a/python/setup.py +++ b/python/setup.py @@ -44,8 +44,8 @@ def setup() -> None: long_description_content_type='text/markdown', license='Apache-2.0', url='https://github.com/chatie/grpc', - packages=setuptools.find_packages('chatie-grpc'), - package_dir={'': 'chatie-grpc'}, + packages=setuptools.find_packages("src"), + package_dir={'': 'src'}, classifiers=[ 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: Apache Software License',