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

3.1 issue137 centos setup #184

Merged
merged 3 commits into from
Oct 31, 2018
Merged

Conversation

Marc-Andre-Rivet
Copy link
Contributor

  • handling unicode chars for packages prop in setup.py
  • adding dash dependency

@chriddyp chriddyp temporarily deployed to dash-table-review-pr-184 October 30, 2018 14:10 Inactive
@@ -4,7 +4,7 @@
with open('package.json') as f:
package = json.load(f)

package_name = package["name"].replace(" ", "_").replace("-", "_")
package_name = str(package["name"].replace(" ", "_").replace("-", "_"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 3rd party library used by setuptools for the packages prop can't handle unicode characters.. casting through str(...) removed the unicode encoding and makes everything work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figured it was something to do with the encoding, thanks for confirming it.

@@ -14,5 +14,5 @@
include_package_data=True,
license=package['license'],
description=package['description'] if 'description' in package else package_name,
install_requires=[]
install_requires=['dash']
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've seen this dependency in other dash-* projects, let me know if there's a reason why it shouldn't be included here..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It import dash in the __init__.py if that's like the other repos so it needs it.

package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "dash-table",
"version": "3.1.0rc12",
"version": "3.1.0rc13",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bump version

…-setup

# Conflicts:
#	CHANGELOG.md
#	dash_table/package.json
#	package.json
@Marc-Andre-Rivet
Copy link
Contributor Author

@T4rk1n Tagging for review. Thanks.

Copy link
Contributor

@T4rk1n T4rk1n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@@ -4,7 +4,7 @@
with open('package.json') as f:
package = json.load(f)

package_name = package["name"].replace(" ", "_").replace("-", "_")
package_name = str(package["name"].replace(" ", "_").replace("-", "_"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figured it was something to do with the encoding, thanks for confirming it.

@@ -14,5 +14,5 @@
include_package_data=True,
license=package['license'],
description=package['description'] if 'description' in package else package_name,
install_requires=[]
install_requires=['dash']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It import dash in the __init__.py if that's like the other repos so it needs it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants