ipyfilechooser/setup.py

37 wiersze
1015 B
Python

2019-04-11 14:18:17 +00:00
#!/usr/bin/env python
2019-11-28 00:59:08 +00:00
import os
2021-05-21 09:54:10 +00:00
from typing import AnyStr
2019-04-11 14:18:17 +00:00
from setuptools import setup, find_packages
2019-11-28 00:59:08 +00:00
2021-05-26 21:00:23 +00:00
def read(fname: str) -> str:
2019-11-28 00:59:08 +00:00
"""Open files relative to package."""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
2019-04-11 14:18:17 +00:00
setup(
2019-12-02 22:06:42 +00:00
name='ipyfilechooser',
2021-09-14 23:46:13 +00:00
version='0.6.0',
2019-12-02 22:06:42 +00:00
author='Thomas Bouve (@crahan)',
author_email='crahan@n00.be',
2019-04-17 19:15:02 +00:00
description=(
2019-12-02 22:06:42 +00:00
'Python file chooser widget for use in '
'Jupyter/IPython in conjunction with ipywidgets'
2019-04-17 19:15:02 +00:00
),
2019-11-28 00:59:08 +00:00
long_description=read('README.md'),
2019-12-02 22:06:42 +00:00
long_description_content_type='text/markdown',
url='https://github.com/crahan/ipyfilechooser',
license='MIT',
2019-04-11 14:18:17 +00:00
packages=find_packages(),
classifiers=[
2019-12-02 22:06:42 +00:00
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
2020-10-03 11:57:12 +00:00
'Development Status :: 5 - Production/Stable',
2019-12-02 22:06:42 +00:00
'Intended Audience :: Developers',
2019-04-11 14:18:17 +00:00
],
install_requires=[
'ipywidgets'
]
)