github.com/jessicategner/pypandoc v0.8.1
Imported setuptools setup callsetuptools packaging import
SHA-2566ffeacc39eff15969d16b98b792cbf3d841cfdabe059497617d3e0ac10717465
MaleculeH₂(CmPo₂)
Evidence
6:9… e__ = 'MIT'
7__all__ = ['convert', 'get_pandoc_formats']
8
9import subprocess
10import os
11
⋯4 lines
56:30… =' + format, '--to=' + to]
57 args.extend(extra_args)
58
59 p = subprocess.Popen(
60 args,
61 stdin=subprocess.PIPE,
⋯18 lines
⋯4 lines
5and simply return the NamedTemporaryFile object
6"""
7from django.core.files import File
8from tempfile import NamedTemporaryFile
9
⋯6 lines
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3import pypandoc
4from setuptools import setup
5
6description = "Thin wrapper for pandoc."
7try:
8 long_description = pypandoc.convert('README.md', 'rst')
9except (IOError, OSError):
10 print('check that you have installed pandoc properly and that README.md exists!')
11 long_description = description
12
13module = pypandoc
14setup(
15 name = 'pypandoc',
16 version = module.__version__,
17 url = 'https://github.com/bebraw/pypandoc',
18 license = 'MIT',
19 description = description,
20 long_description = long_description,
21 author = module.__author__,
22 author_email = '[email protected]',
23 py_modules = ['pypandoc', ],
24 install_requires = ['setuptools', ],
25 classifiers=[
26 'Development Status :: 4 - Beta' …
1Copyright (c) 2011 Juho Vepsäläinen
2
3Permission is hereby granted, free of charge, to any person obtaining
4a copy of this software and associated documentation files (the
5"Software"), to deal in the Software without r …
No evidence locations were recorded for this file. Raw result