diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-16 12:37:12 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-16 12:57:29 +0200 |
| commit | 5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch) | |
| tree | 4d09343cfe757239895a0dd9b399242d2a07d7c2 /contrib/QDarkStyleSheet/PRODUCTION.md | |
| parent | 23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff) | |
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'contrib/QDarkStyleSheet/PRODUCTION.md')
| -rwxr-xr-x | contrib/QDarkStyleSheet/PRODUCTION.md | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/contrib/QDarkStyleSheet/PRODUCTION.md b/contrib/QDarkStyleSheet/PRODUCTION.md index 0959e3f5..49059902 100755 --- a/contrib/QDarkStyleSheet/PRODUCTION.md +++ b/contrib/QDarkStyleSheet/PRODUCTION.md @@ -1,64 +1,64 @@ -# Production - -Of course, until you start these steps, make sure the package have passed all -tests and checkers before continue. - -- Create a `.pypirc` file in your home folder with this - ```bash - [distutils] - index-servers = - pypi - testpypi - - [pypi] - repository:https://pypi.python.org/pypi - username=your username - - [testpypi] - repository: https://test.pypi.org/legacy/ - username=your username - ``` - - If you want to put also your password in that file, remember to set - appropriated permission to it. - - *Note that you need to create an account for both sites.* - -- Install TWine - ```bash - sudo apt install twine - ``` - -- Register if necessary - ```bash - python setup.py register - ``` - -- Create a distribution (code package and wheel) - ```bash - python setup.py sdist bdist_wheel - ``` - -- Test uploading using Twine - ```bash - twine upload -r testpypi dist/* - ``` - -- Check if things are OK on [PyPI test page](https://test.pypi.org/project/QDarkStyle). - -- Test installing using pip from test PyPI - ```bash - pip install --index-url https://test.pypi.org/project/ qdarkstyle - ``` - -- **If you make sure all things are OK**, upload officialy - ```bash - twine upload -r pypi dist/* - ``` - -- Check if things are OK on [PyPI official page](https://pypi.python.org/pypi/QDarkStyle). - -- Test installing using pip - ```bash - pip install qdarkstyle +# Production
+
+Of course, until you start these steps, make sure the package have passed all
+tests and checkers before continue.
+
+- Create a `.pypirc` file in your home folder with this
+ ```bash
+ [distutils]
+ index-servers =
+ pypi
+ testpypi
+
+ [pypi]
+ repository:https://pypi.python.org/pypi
+ username=your username
+
+ [testpypi]
+ repository: https://test.pypi.org/legacy/
+ username=your username
+ ```
+
+ If you want to put also your password in that file, remember to set
+ appropriated permission to it.
+
+ *Note that you need to create an account for both sites.*
+
+- Install TWine
+ ```bash
+ sudo apt install twine
+ ```
+
+- Register if necessary
+ ```bash
+ python setup.py register
+ ```
+
+- Create a distribution (code package and wheel)
+ ```bash
+ python setup.py sdist bdist_wheel
+ ```
+
+- Test uploading using Twine
+ ```bash
+ twine upload -r testpypi dist/*
+ ```
+
+- Check if things are OK on [PyPI test page](https://test.pypi.org/project/QDarkStyle).
+
+- Test installing using pip from test PyPI
+ ```bash
+ pip install --index-url https://test.pypi.org/project/ qdarkstyle
+ ```
+
+- **If you make sure all things are OK**, upload officialy
+ ```bash
+ twine upload -r pypi dist/*
+ ```
+
+- Check if things are OK on [PyPI official page](https://pypi.python.org/pypi/QDarkStyle).
+
+- Test installing using pip
+ ```bash
+ pip install qdarkstyle
```
\ No newline at end of file |
