Skip to content

Commit 9d7fa5c

Browse files
authored
Merge pull request #40 from vidartf/fixes
Fix dist issues
2 parents f445874 + 5928de2 commit 9d7fa5c

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ of those flags here.
8989
- Publish the package to PyPI:
9090
```bash
9191
pip install twine
92-
twine upload dist/*
92+
twine upload dist/<python package name>*
9393
```
9494
- Tag the release commit (`git tag <python package version identifier>`)
9595
- Update the version in `_version.py`, and put it back to dev (e.g. 0.1.0 -> 0.2.0.dev).
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
.DS_Store
22
node_modules/
33
tests/
4-
.jshintrc
4+
.jshintrc
5+
# Ignore any build output from python:
6+
dist/*.tar.gz
7+
dist/*.wheel

{{cookiecutter.github_project_name}}/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ script:
7070
(exit $EXIT_STATUS)
7171
fi
7272
after_success:
73-
- codecov
73+
- codecov

{{cookiecutter.github_project_name}}/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ module.exports = [
6767
filename: 'index.js',
6868
path: path.resolve(__dirname, 'dist'),
6969
libraryTarget: 'amd',
70-
library: "{{ cookiecutter.npm_package_name }}",
70+
library: "{{ cookiecutter.npm_package_name }}",
7171
publicPath: 'https://unpkg.com/{{ cookiecutter.npm_package_name }}@' + version + '/dist/'
7272
},
7373
devtool: 'source-map',

0 commit comments

Comments
 (0)