2014-01-30 12:17:36 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
"""
|
2014-02-14 09:03:28 +00:00
|
|
|
Butterfly - A sleek web based terminal emulator
|
2014-01-30 12:17:36 +00:00
|
|
|
"""
|
2017-03-30 08:20:25 +00:00
|
|
|
import os
|
|
|
|
|
2014-01-30 12:17:36 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2017-03-30 08:20:25 +00:00
|
|
|
about = {}
|
|
|
|
with open(os.path.join(
|
|
|
|
os.path.dirname(__file__), "butterfly", "__about__.py")) as f:
|
|
|
|
exec(f.read(), about)
|
2014-01-30 12:17:36 +00:00
|
|
|
|
2017-03-30 08:20:25 +00:00
|
|
|
setup(
|
|
|
|
name=about['__title__'],
|
|
|
|
version=about['__version__'],
|
|
|
|
description=about['__summary__'],
|
|
|
|
url=about['__uri__'],
|
|
|
|
author=about['__author__'],
|
|
|
|
author_email=about['__email__'],
|
|
|
|
license=about['__license__'],
|
2014-01-30 12:17:36 +00:00
|
|
|
platforms="Any",
|
2015-10-16 13:58:32 +00:00
|
|
|
scripts=['butterfly.server.py', 'scripts/butterfly', 'scripts/b'],
|
2014-01-30 13:32:15 +00:00
|
|
|
packages=['butterfly'],
|
2017-02-13 10:03:20 +00:00
|
|
|
install_requires=["tornado>=3.2", "pyOpenSSL"],
|
2017-02-13 14:25:22 +00:00
|
|
|
extras_require={
|
2017-02-13 10:03:20 +00:00
|
|
|
'themes': ["libsass"],
|
2017-05-02 15:59:52 +00:00
|
|
|
'systemd': ['tornado_systemd'],
|
|
|
|
'lint': ['pytest', 'pytest-flake8', 'pytest-isort']
|
2017-02-13 10:03:20 +00:00
|
|
|
},
|
2014-01-30 12:17:36 +00:00
|
|
|
package_data={
|
2014-01-30 13:32:15 +00:00
|
|
|
'butterfly': [
|
2014-07-18 14:03:40 +00:00
|
|
|
'sass/*.sass',
|
2015-10-14 16:00:48 +00:00
|
|
|
'themes/*.*',
|
2015-10-16 15:56:44 +00:00
|
|
|
'themes/*/*.*',
|
|
|
|
'themes/*/*/*.*',
|
2014-01-30 12:17:36 +00:00
|
|
|
'static/fonts/*',
|
2014-02-27 13:58:09 +00:00
|
|
|
'static/images/favicon.png',
|
2014-05-05 10:03:21 +00:00
|
|
|
'static/main.css',
|
2015-06-26 09:01:49 +00:00
|
|
|
'static/html-sanitizer.js',
|
2014-07-18 15:13:50 +00:00
|
|
|
'static/*.min.js',
|
2015-04-30 10:04:14 +00:00
|
|
|
'templates/index.html',
|
2015-04-30 10:33:04 +00:00
|
|
|
'bin/*',
|
2015-10-07 14:03:32 +00:00
|
|
|
'templates/motd',
|
|
|
|
'butterfly.conf.default'
|
2014-01-30 12:17:36 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
classifiers=[
|
2017-03-30 08:20:25 +00:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
2014-01-30 12:17:36 +00:00
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
2014-01-30 13:32:15 +00:00
|
|
|
"Operating System :: POSIX :: Linux",
|
2014-01-30 12:17:36 +00:00
|
|
|
"Programming Language :: Python :: 2",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Topic :: Terminals"])
|