Skip to content

Commit

Permalink
fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorRamos committed Jan 30, 2023
1 parent 6ff19eb commit a740ba4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
./install.sh
rm -r dist
- name: Build package
run: python -m build sdist
run: python setup.py build sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

sudo apt update
sudo apt install g++ gcc swig libpfm4-dev python3-dev python3-pip
sudo apt install -y g++ gcc swig libpfm4-dev python3-dev python3-pip
python3 setup.py build
python3 setup.py install
1 change: 1 addition & 0 deletions performance_features/workload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ int Workload::create_wrokload(const vector<string>& args)
{
return pid;
}
return 0;
}

void Workload::wait_finish()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def run(self):
setuptools.setup(
cmdclass={"build_ext": cbuild_ext},
name="performance_features",
version="0.2.5",
version="0.2.6",
packages=["perfmon", "performance_features"],
package_dir={"perfmon": "perfmon", "performance_features": "performance_features"},
py_modules=["perfmon.perfmon_int", "performance_features.profiler"],
Expand Down

0 comments on commit a740ba4

Please sign in to comment.