Use simple README pointing to GitHub for JS/Python packages
This commit is contained in:
parent
797ff4f8a9
commit
c8a57b192c
@ -13,7 +13,7 @@ endif
|
|||||||
default: build
|
default: build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f deepspeech_wrap.cxx package.json README.rst
|
rm -f deepspeech_wrap.cxx package.json
|
||||||
rm -rf ./build/
|
rm -rf ./build/
|
||||||
|
|
||||||
clean-npm-pack:
|
clean-npm-pack:
|
||||||
@ -23,9 +23,6 @@ clean-npm-pack:
|
|||||||
really-clean: clean clean-npm-pack
|
really-clean: clean clean-npm-pack
|
||||||
rm -fr ./lib/
|
rm -fr ./lib/
|
||||||
|
|
||||||
README.rst:
|
|
||||||
cp ../../README.rst README.rst
|
|
||||||
|
|
||||||
package.json: package.json.in
|
package.json: package.json.in
|
||||||
sed \
|
sed \
|
||||||
-e 's/$$(PROJECT_NAME)/$(PROJECT_NAME)/' \
|
-e 's/$$(PROJECT_NAME)/$(PROJECT_NAME)/' \
|
||||||
@ -44,7 +41,7 @@ copy-deps: build
|
|||||||
node-wrapper: copy-deps build
|
node-wrapper: copy-deps build
|
||||||
$(NODE_BUILD_TOOL) $(NODE_PLATFORM_TARGET) $(NODE_RUNTIME) $(NODE_ABI_TARGET) $(NODE_DIST_URL) package $(NODE_BUILD_VERBOSE)
|
$(NODE_BUILD_TOOL) $(NODE_PLATFORM_TARGET) $(NODE_RUNTIME) $(NODE_ABI_TARGET) $(NODE_DIST_URL) package $(NODE_BUILD_VERBOSE)
|
||||||
|
|
||||||
npm-pack: clean package.json README.rst index.js
|
npm-pack: clean package.json index.js
|
||||||
npm install node-pre-gyp@0.13.x
|
npm install node-pre-gyp@0.13.x
|
||||||
npm pack $(NODE_BUILD_VERBOSE)
|
npm pack $(NODE_BUILD_VERBOSE)
|
||||||
|
|
||||||
|
1
native_client/javascript/README.rst
Normal file
1
native_client/javascript/README.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Full project description and documentation on GitHub: `https://github.com/mozilla/DeepSpeech <https://github.com/mozilla/DeepSpeech>`_
|
1
native_client/python/README.rst
Normal file
1
native_client/python/README.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Full project description and documentation on GitHub: `https://github.com/mozilla/DeepSpeech <https://github.com/mozilla/DeepSpeech>`_
|
@ -68,7 +68,7 @@ def main():
|
|||||||
|
|
||||||
setup(name=project_name,
|
setup(name=project_name,
|
||||||
description='A library for running inference on a DeepSpeech model',
|
description='A library for running inference on a DeepSpeech model',
|
||||||
long_description=read('../../README.rst'),
|
long_description=read('README.rst'),
|
||||||
long_description_content_type='text/x-rst; charset=UTF-8',
|
long_description_content_type='text/x-rst; charset=UTF-8',
|
||||||
author='Mozilla',
|
author='Mozilla',
|
||||||
version=project_version,
|
version=project_version,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user