forked from AlainDaccache/Quantropy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (19 loc) · 694 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (19 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
"""
To release to PyPI:
* Delete .egginfo, build, and dist folders
* Be at Quantropy level (i.e. .../Quantropy, and not .../Quantropy/matilda)
* Upgrade version in setup.cfg (i.e. from 0.0.1 to 0.0.2)
* py -m pip install --upgrade build
* py -m build
* py -m pip install --user --upgrade twine
* py -m twine upload --repository testpypi dist/*
Username: __token__
Password: API token
Go to terminal, and do
* py -m pip install -i https://test.pypi.org/simple/ Quantropy==0.0.7 (make sure you adjust Quantropy==version)
* py (to open python interpreter)
* import matilda
Now you're ready to upload it to actual PyPi
"""
import setuptools
setuptools.setup()