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

Commit 9988ce5

Browse files
setup setup.py
1 parent 624eb02 commit 9988ce5

File tree

7 files changed

+55
-3
lines changed

7 files changed

+55
-3
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
scratch.ipynb
33
.ipynb_checkpoints
44
.mapbox_token
5+
dist
6+
build
7+
plotly_express.egg-info

LICENSE renamed to LICENSE.txt

File renamed without changes.

MANIFEST.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include README.md
2+
include LICENSE.txt
3+
recursive-include plotly_express/data *.csv.xz

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

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

5-
[![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)
5+
[![nbviewer badge](https://img.shields.io/badge/render-nbviewer-orange.svg)](https://nbviewer.jupyter.org/github/plotly/plotly_express/blob/master/gallery.ipynb)
66

77
[![binder badge](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/plotly/plotly_express/master?filepath=gallery.ipynb)

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pandas
2-
plotly==3.6.0rc1
1+
pandas>=0.20.0
2+
plotly>=3.6.0

setup.cfg

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[metadata]
2+
# This includes the license file(s) in the wheel.
3+
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
4+
license_files = LICENSE.txt
5+
6+
[bdist_wheel]
7+
# This flag says to generate wheels that support both Python 2 and Python
8+
# 3. If your code will not run unchanged on both Python 2 and 3, you will
9+
# need to generate separate wheels for each Python version that you
10+
# support. Removing this line (or setting universal to 0) will prevent
11+
# bdist_wheel from trying to make a universal wheel. For more see:
12+
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels
13+
universal=1

setup.py

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
from setuptools import setup, find_packages
2+
from os import path
3+
4+
# io.open is needed for projects that support Python 2.7
5+
# It ensures open() defaults to text mode with universal newlines,
6+
# and accepts an argument to specify the text encoding
7+
# Python 3 only projects can skip this import
8+
from io import open
9+
10+
here = path.abspath(path.dirname(__file__))
11+
12+
with open(path.join(here, "README.md"), encoding="utf-8") as f:
13+
long_description = f.read()
14+
15+
16+
setup(
17+
name="plotly_express", # Required
18+
version="0.1a1", # Required
19+
description="Plotly Express: a high level wrapper for Plotly.py", # Optional
20+
long_description=long_description, # Optional
21+
long_description_content_type="text/markdown", # Optional (see note above)
22+
url="https://github.com/plotly/plotly_express", # Optional
23+
author="Nicolas Kruchten", # Optional
24+
author_email="[email protected]", # Optional
25+
classifiers=[ # Optional
26+
"Development Status :: 3 - Alpha",
27+
"Topic :: Scientific/Engineering :: Visualization",
28+
"License :: OSI Approved :: MIT License",
29+
],
30+
packages=find_packages(), # Required
31+
package_data={"plotly_express": ["data/*.csv.xz"]},
32+
install_requires=["pandas>=0.20.0", "plotly>=3.6.0"], # Optional
33+
)

0 commit comments

Comments
 (0)