Skip to content

Commit dba2b7e

Browse files
committed
remove check for depricated disttools, replace with setuptools
1 parent c5eee62 commit dba2b7e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@
2929
###############################################################################
3030

3131
try:
32-
from distutils.core import setup
33-
from distutils.extension import Extension
32+
from setuptools import setup
33+
from setuptools import Extension
34+
from setuptools import find_packages
3435
except ImportError:
35-
print('The distutils package is required to build or install RMG Py.')
36+
print('The setuptools package is required to build or install RMG Py.')
3637

3738
scripts = [
3839
'evansPolanyi.py',
@@ -51,4 +52,5 @@
5152
author_email='rmg_dev@mit.edu',
5253
url='http://reactionmechanismgenerator.github.io/',
5354
scripts=scripts,
55+
packages=find_packages()
5456
)

0 commit comments

Comments
 (0)