Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
setup setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten committed Feb 3, 2019
1 parent 624eb02 commit 9988ce5
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
scratch.ipynb
.ipynb_checkpoints
.mapbox_token
dist
build
plotly_express.egg-info
File renamed without changes.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include README.md
include LICENSE.txt
recursive-include plotly_express/data *.csv.xz
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

This is alpha-quality software, under active development and available for demonstration purposes only!

[![nbviewer badge](https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg)](https://nbviewer.jupyter.org/github/plotly/plotly_express/blob/master/gallery.ipynb)
[![nbviewer badge](https://img.shields.io/badge/render-nbviewer-orange.svg)](https://nbviewer.jupyter.org/github/plotly/plotly_express/blob/master/gallery.ipynb)

[![binder badge](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/plotly/plotly_express/master?filepath=gallery.ipynb)
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pandas
plotly==3.6.0rc1
pandas>=0.20.0
plotly>=3.6.0
13 changes: 13 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[metadata]
# This includes the license file(s) in the wheel.
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
license_files = LICENSE.txt

[bdist_wheel]
# This flag says to generate wheels that support both Python 2 and Python
# 3. If your code will not run unchanged on both Python 2 and 3, you will
# need to generate separate wheels for each Python version that you
# support. Removing this line (or setting universal to 0) will prevent
# bdist_wheel from trying to make a universal wheel. For more see:
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels
universal=1
33 changes: 33 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
from setuptools import setup, find_packages
from os import path

# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open

here = path.abspath(path.dirname(__file__))

with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()


setup(
name="plotly_express", # Required
version="0.1a1", # Required
description="Plotly Express: a high level wrapper for Plotly.py", # Optional
long_description=long_description, # Optional
long_description_content_type="text/markdown", # Optional (see note above)
url="https://github.com/plotly/plotly_express", # Optional
author="Nicolas Kruchten", # Optional
author_email="[email protected]", # Optional
classifiers=[ # Optional
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: MIT License",
],
packages=find_packages(), # Required
package_data={"plotly_express": ["data/*.csv.xz"]},
install_requires=["pandas>=0.20.0", "plotly>=3.6.0"], # Optional
)

0 comments on commit 9988ce5

Please sign in to comment.