-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (44 loc) · 1.71 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
46
47
48
49
50
import os
from io import open
from pathlib import Path
from setuptools import setup, find_packages
with open(os.path.join(Path(__file__).parent / 'README.md'), encoding='utf-8') as reader:
long_description = reader.read()
# Se leen los requirements de requirements.txt
with open(os.path.join(Path(__file__).parent, 'requirements.txt'), encoding='utf-8') as reader:
requirements = reader.read().splitlines()
with open(Path(__file__).parent / "VERSION", "r") as reader:
VERSION = reader.read().strip()
setup(
name='streamlit-plugins',
version=VERSION,
license='MIT',
url='https://github.com/quiradev/streamlit-plugins',
description='Components and Frameworks to give new features to streamlit',
long_description=long_description,
long_description_content_type="text/markdown",
author_email='v.quilonr@gmail.com',
author='Victor Quilon Ranera',
packages=find_packages(exclude=["lab_streamlit_plugins", "lab_streamlit_plugins.*"]),
python_requires='>=3.9',
install_requires=[
*requirements,
],
include_package_data=True,
package_data={
"streamlit_plugins": ["components/*/frontend/build/**/*"]
},
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
keywords=["streamlit", "plugins", "framework", "components", "navbar", "loader", "multilit"],
options={
'sdist': {'dist_dir': './dist/streamlit-plugins'},
'bdist_wheel': {'dist_dir': './dist/streamlit-plugins'},
'build': {'build_base': './build/streamlit-plugins'}
}
)