Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1825371

Browse filesBrowse files
committed
Use resources file in setup.py.
1 parent 7ff6a6e commit 1825371
Copy full SHA for 1825371

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from setuptools import setup, find_packages
33

44
exec (open('plotly/version.py').read())
5+
exec (open('plotly/resources.py').read())
56

67

78
def readme():
@@ -33,6 +34,8 @@ def readme():
3334
],
3435
license='MIT',
3536
packages=find_packages(),
37+
data_files=[(GRAPH_REFERENCE_DIR, GRAPH_REFERENCE_FILES),
38+
(WIDGETS_DIR, WIDGETS_FILES)],
3639
package_data={'plotly': ['graph_reference/*.json', 'widgets/*.js']},
3740
install_requires=['requests', 'six', 'pytz'],
3841
extras_require={"PY2.6": ['simplejson', 'ordereddict',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.