File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- VERSION = '1.0.0a2 '
15
+ VERSION = '1.0.0a3 '
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
import os
16
- from pypandoc import convert
16
+ import sys
17
17
18
18
try :
19
19
from setuptools import setup
20
20
except ImportError :
21
21
from distutils .core import setup
22
22
23
+ try :
24
+ from pypandoc import convert
25
+ except ImportError as e :
26
+ # NOTE: error is thrown only for package build steps
27
+ if 'sdist' in sys .argv or 'bdist_wheel' in sys .argv :
28
+ raise e
29
+
30
+ def convert (f , _ ):
31
+ return open (f , 'r' ).read ()
32
+
23
33
from pydgraph .meta import VERSION
24
34
25
35
README = os .path .join (os .path .dirname (__file__ ), 'README.md' )
You can’t perform that action at this time.
0 commit comments