Skip to content

Commit

Permalink
Merge pull request #260 from phovea/thinkh/259_replace-python-dist-eg…
Browse files Browse the repository at this point in the history
…g-with-wheels

Replace `egg` with `sdist bdist_wheel` in dist:python npm command
  • Loading branch information
Anita Steiner authored Dec 3, 2019
2 parents ba22713 + 8038e21 commit 0e0fb26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/_init-hybrid/templates/package.tmpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"predist:python": "npm run build:python && npm run docs:python",
"predist": "echo hybrid",
"dist:web": "mkdirp dist && cd build && tar cvzf ../dist/<%-name%>.tar.gz *",
"dist:python": "python setup.py bdist_egg",
"dist:python": "python setup.py sdist bdist_wheel",
"dist": "npm run dist:web && npm run dist:python"
}
}
2 changes: 1 addition & 1 deletion generators/_init-python/templates/package.tmpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"prebuild": "node -e \"process.exit(process.env.PHOVEA_SKIP_TESTS === undefined?1:0)\" || npm run test",
"build": "rm -rf build/source && find . -name '*.pyc' -delete && node buildPython.js && cp -r ./<%-name.toLowerCase()%> build/source/",
"predist": "npm run build && npm run docs",
"dist": "python setup.py bdist_egg && cd build && tar cvzf ../dist/<%-name%>.tar.gz *"
"dist": "python setup.py sdist bdist_wheel && cd build && tar cvzf ../dist/<%-name%>.tar.gz *"
}
}

0 comments on commit 0e0fb26

Please sign in to comment.