import setup from distutils.core
if setutools
package no installed
This commit is contained in:
parent
8dd09e1e97
commit
93e65b75cc
1 changed files with 5 additions and 2 deletions
7
setup.py
7
setup.py
|
@ -1,7 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
import os
|
||||
|
||||
from setuptools import setup
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
|
||||
|
@ -37,4 +40,4 @@ setup(
|
|||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue