-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
45 lines (40 loc) · 1.51 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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='[email protected]',
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',
],
)