File tree Expand file tree Collapse file tree 2 files changed +5
-64
lines changed
Expand file tree Collapse file tree 2 files changed +5
-64
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ class pypi {
3737 cp ( this . rootDir + `/README.md` , this . tempPyDir + '/README.md' ) ;
3838 // write pyproject.toml
3939 const verion = this . defineVersion ( ) ;
40- fs . writeFileSync ( this . tempPyDir + '/pyproject.toml' , this . pyprojectTolmContent ( pypiPackageNameSanitized , verion ) ) ;
40+ fs . writeFileSync ( this . tempPyDir + '/pyproject.toml' , this . pyprojectTolmContent ( pypiPackageName , verion ) ) ;
4141 this . pythonPackageBuild ( ) ;
4242 }
4343
44- pyprojectTolmContent ( pypiPackageNameSanitized :string , newVersion : string ) {
44+ pyprojectTolmContent ( pypiPackageName :string , newVersion : string ) {
4545 const content = '' +
4646 `[build-system]\n` +
4747 `requires = ["hatchling"]\n` +
@@ -51,10 +51,11 @@ class pypi {
5151 `include = ["src/${ this . exchange } "]\n` +
5252 `\n` +
5353 `[tool.hatch.build.targets.wheel]\n` +
54- `packages = ["src/${ this . exchange } "]\n` +
54+ `packages = ["${ this . exchange } "]\n` +
55+ `src-layout = "src"\n` +
5556 `\n` +
5657 `[project]\n` +
57- `name = "${ pypiPackageNameSanitized } "\n` +
58+ `name = "${ pypiPackageName } "\n` +
5859 `version = "` + newVersion + `"\n` +
5960 `authors = [\n` +
6061 ` { name="CCXT", email="info@ccxt.trade" },\n` +
You can’t perform that action at this time.
0 commit comments