Skip to content

Commit

Permalink
remove check for depricated disttools, replace with setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
sevyharris committed May 15, 2023
1 parent c5eee62 commit dba2b7e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@
###############################################################################

try:
from distutils.core import setup
from distutils.extension import Extension
from setuptools import setup
from setuptools import Extension
from setuptools import find_packages
except ImportError:
print('The distutils package is required to build or install RMG Py.')
print('The setuptools package is required to build or install RMG Py.')

scripts = [
'evansPolanyi.py',
Expand All @@ -51,4 +52,5 @@
author_email='rmg_dev@mit.edu',
url='http://reactionmechanismgenerator.github.io/',
scripts=scripts,
packages=find_packages()
)

0 comments on commit dba2b7e

Please sign in to comment.