Skip to content

Commit

Permalink
remove distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 2, 2024
1 parent d6fa67d commit 7097974
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import distutils.dir_util
from setuptools import setup
import os
import shutil
import sys


Expand All @@ -26,9 +26,9 @@
this_dir = os.path.dirname(os.path.abspath(__file__))
build_dir = os.path.join(this_dir, "build")
if os.path.isdir(build_dir):
distutils.dir_util.remove_tree(build_dir)
shutil.rmtree(build_dir)
egg_dir = os.path.join(
this_dir, "sPyNNaker_visualisers.egg-info")
if os.path.isdir(egg_dir):
distutils.dir_util.remove_tree(egg_dir)
shutil.rmtree(egg_dir)
setup()

0 comments on commit 7097974

Please sign in to comment.