forked from streamlit/streamlit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8bcdae
commit 08bce8d
Showing
2 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,22 +15,16 @@ | |
import os | ||
import setuptools | ||
import sys | ||
from pathlib import Path | ||
|
||
from setuptools.command.install import install | ||
|
||
THIS_DIRECTORY = Path(__file__).parent | ||
|
||
VERSION = "1.13.0" # PEP-440 | ||
|
||
NAME = "streamlit" | ||
|
||
DESCRIPTION = "The fastest way to build data apps in Python" | ||
|
||
LONG_DESCRIPTION = ( | ||
"Streamlit's open-source app framework is the easiest way " | ||
"for data scientists and machine learning engineers to " | ||
"create beautiful, performant apps in only a few hours! " | ||
"All in pure Python. All for free." | ||
) | ||
|
||
# IMPORTANT: We should try very hard *not* to add dependencies to Streamlit. | ||
# And if you do add one, make the required version as general as possible. | ||
# But include relevant lower bounds for any features we use from our dependencies. | ||
|
@@ -98,19 +92,43 @@ def run(self): | |
setuptools.setup( | ||
name=NAME, | ||
version=VERSION, | ||
description=DESCRIPTION, | ||
long_description=LONG_DESCRIPTION, | ||
description="The fastest way to build data apps in Python", | ||
long_description=(THIS_DIRECTORY / ".." / "README.md").read_text(), | ||
long_description_content_type="text/markdown", | ||
url="https://streamlit.io", | ||
project_urls={ | ||
"Source": "https://github.com/streamlit/streamlit", | ||
"Source Code": "https://github.com/streamlit/streamlit", | ||
"Bug Tracker": "https://github.com/streamlit/streamlit/issues", | ||
"Release notes": "https://docs.streamlit.io/library/changelog", | ||
"Documentation": "https://docs.streamlit.io/", | ||
"Community": "https://discuss.streamlit.io/", | ||
"Twitter": "https://twitter.com/streamlit", | ||
}, | ||
author="Streamlit Inc", | ||
author_email="[email protected]", | ||
license="Apache License 2.0", | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Database :: Front-Ends", | ||
"Topic :: Office/Business :: Financial :: Spreadsheet", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
"Topic :: Scientific/Engineering :: Visualization", | ||
"Topic :: Software Development :: Libraries :: Application Frameworks", | ||
"Topic :: Software Development :: Widget Sets", | ||
], | ||
# We exclude Python 3.9.7 from our compatible versions due to a bug in that version | ||
# with typing.Protocol. See https://github.com/streamlit/streamlit/issues/5140 and | ||
# https://bugs.python.org/issue45121 | ||
python_requires=">=3.7, !=3.9.7", | ||
license="Apache 2", | ||
# PEP 561: https://mypy.readthedocs.io/en/stable/installed_packages.html | ||
package_data={"streamlit": ["py.typed", "hello/**/*.py"]}, | ||
packages=setuptools.find_packages(exclude=["tests", "tests.*"]), | ||
|