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 fb59dfb commit 4ee00d4
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 @@ -13,8 +13,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

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

Expand All @@ -27,8 +27,8 @@
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, "MarkovChainMonteCarl.egg-info")
if os.path.isdir(egg_dir):
distutils.dir_util.remove_tree(egg_dir)
shutil.rmtree(egg_dir)
setup()

0 comments on commit 4ee00d4

Please sign in to comment.