Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (40 sloc) 1.51 KB
from codecs import open
from os import path
from setuptools import setup, find_packages
# bringing in __version__ data
exec(open('embedx/version.py').read())
# Load the README.md to `long_description`
try:
from pypandoc import convert
long_description = convert('README.md', 'rst')
except(OSError, IOError, ImportError):
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# finally
setup(
name='embedx',
packages=find_packages(),
version=__version__,
url='https://github.com/kmonsoor/embedX',
license='MIT',
author='Khaled Monsoor',
author_email='k@kmonsoor.com',
description='Generate responsive, embeddable HTML/JS code from URL of online content',
keywords=['embed', 'html', 'javascript', 'embeddable', 'code generation', 'from url'],
platforms='any',
long_description=long_description,
install_requires=[],
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)