Skip to content

Commit

Permalink
update setup.py to fix pypi bug (#59)
Browse files Browse the repository at this point in the history
* update setup to fix pypi bug

* change chatie-grpc generated dir

* 0.15.2
  • Loading branch information
wj-Mcat authored May 6, 2020
1 parent 7170d37 commit 9d56f6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 9d56f6a

Please sign in to comment.