Reduce setup bloat

Open
#774 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start by reviewing the pip installation contents, especially parcel_demo and its node_nodules folder, and compare them with the material available on transcrypt.org. Define whether docs, demos, and tutorials should be excluded or separately installed, then verify the chosen packaging behavior and resulting installation size.

Written by the indexing model from the issue text.

Description

SUB: packaging

For consideration as a "feature" request, would it make sense to pull the docs, demos, and tutorials out of the pip transcrypt installation and just have those online or as a separate install that would put them in a specified user folder for easier access? Or possibly use the pip --install-option parameter to optionally install those files to a user folder. (I haven't done that before myself, so not sure if that's possible)

Reasons:

  1. It's awkward to get to those files digging down into site-packages, if you even know that they are there in the first place.
  2. It unnecessarily bloats the installation of Transcrypt when most of the time, you generally don't need them after you get past the learning curve.
  3. That info is already available via transcrypt.org (I think)

The parcel_demo in particular is the main offender to bloat right now since it is including a node_nodules folder that is 60MB (!)

Dominant language
Python
Stars
2.9k
Forks
218
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TranscryptOrg/Transcrypt

All issues in TranscryptOrg/Transcrypt

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.