Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating required files for pypi release #548

Merged
merged 1 commit into from
Sep 20, 2021
Merged

Creating required files for pypi release #548

merged 1 commit into from
Sep 20, 2021

Conversation

JackUrb
Copy link
Contributor

@JackUrb JackUrb commented Sep 7, 2021

Overview

In order to get PyPI releases working, this sets up the minimum packaging setup that also includes all of the static files we require to run Mephisto. Once this is merged I'll release 0.4.1, which should be our first full PyPI release.

Concerns & Future work

Right now I've set this up to be able to upload via the classic setup.py route, rather than using poetry as we have tried to for other parts of the project. I think this signals a degradation of the developer experience, however I couldn't see a quick resolution that allows us to use pip install -e . for local development using just poetry before. Digging in, it appears to be blocked by pip here: pypa/pip#6950, and should be resolved by PEP 660 which is targeted for pip 21.3 (October). We should revisit consolidating around poetry then.

Closes #524

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 7, 2021
@JackUrb JackUrb mentioned this pull request Sep 15, 2021
Copy link
Contributor

@pringshia pringshia left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me. Thanks for getting this key piece together.

@JackUrb JackUrb merged commit dfc9857 into main Sep 20, 2021
@JackUrb JackUrb deleted the pypi-prep branch September 20, 2021 21:24
pringshia added a commit that referenced this pull request Sep 23, 2021
* Layout base folder structure

* rename scripts pkg to dev-scripts

* Add base README

* Get dev-scripts working

* Wire up new transition storybook under docs/sb

* Fix up .yarnrc.yml

* Set up @annotated/bbox package

* Add @annotated/video-player pkg

* Add more stories to the storybook

* Typo fix (#564)

* Cleaning up todo labels (#569)

* Creating required files for pypi release (#548)

* Create annotated-pks.yml

* Remove yarn version specificiation from install

* Remove random echo statements

* Update build command

* Update wrapper import

* Remove cra scripts from package.json

* Add foreach build command

* change job name

Co-authored-by: Jack Urbanek <jju@fb.com>
pringshia added a commit that referenced this pull request Sep 24, 2021
* Layout base folder structure

* rename scripts pkg to dev-scripts

* Add base README

* Get dev-scripts working

* Wire up new transition storybook under docs/sb

* Fix up .yarnrc.yml

* Set up @annotated/bbox package

* Add @annotated/video-player pkg

* Add more stories to the storybook

* Add a Github Action for testing Yarn 3 (#574)

* Layout base folder structure

* rename scripts pkg to dev-scripts

* Add base README

* Get dev-scripts working

* Wire up new transition storybook under docs/sb

* Fix up .yarnrc.yml

* Set up @annotated/bbox package

* Add @annotated/video-player pkg

* Add more stories to the storybook

* Typo fix (#564)

* Cleaning up todo labels (#569)

* Creating required files for pypi release (#548)

* Create annotated-pks.yml

* Remove yarn version specificiation from install

* Remove random echo statements

* Update build command

* Update wrapper import

* Remove cra scripts from package.json

* Add foreach build command

* change job name

Co-authored-by: Jack Urbanek <jju@fb.com>

* Create @annotated/keypoint

* Add build-all pkg.json script

* Add README for yarn

* Move sb into storybook folder and update README

* Remove manifest and logos

* Clean up

Co-authored-by: Jack Urbanek <jju@fb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release Mephisto versions on PyPI
3 participants