This is the PyPI server of Brief.me
You can use the following make command to create a new app release:
make bump app=marketing-blocks version=0.1The 2 parameters app and version are optional. If not set, the terminal will prompt you to fill them.
Adding a new release for an existing app is a 4 steps process.
Here is an example for the release 0.1 for the marketing-blocks app:
from setuptools import setup
setup(
name='marketing-blocks',
version='0.1',
...,
)When the release is published you can add it the python-package-sever app.
Here is an example for the release 0.1 of the marketing-blocks app:
<!-- marketing-blocks/index.html -->
<!DOCTYPE html>
<html>
<head>
<title>Marketing Blocks</title>
</head>
<body>
<a href="git+https://github.com/briefmnews/marketing-blocks.git@0.1#egg=marketing_blocks-0.1">
marketing-blocks-0.1
</a>
<br/>
<a href="git+https://github.com/briefmnews/marketing-blocks.git@0.0.1#egg=marketing_blocks-0.0.1">
marketing-blocks-0.0.1
</a>
<br/>
</body>
</html>Here is an example of commit:
git commit -m "feat(marketing-blocks): release version 0.1"Our private PyPI server is hosted by github pages. The deployment process might take up to 5 minutes.
Let's take the django app marketing-blocks as example.
In order to add the release 0.1 of marketing-blocks to one of your existing project,
you need to add the following to your requirements.py:
--extra-index-url https://briefmnews.github.io/python-package-server/
marketing-blocks==0.1
Django==2.2.24
...In this situation, pip will try to find indexes from https://briefmnews.github.io/python-package-server/ before the official PyPI server.