README.md 675 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Python Package Index (PyPI) for NNI
===

## 1.Description
This is the PyPI build and upload tool for NNI project.

## 2.Prepare environment
Before build and upload NNI package, make sure the below OS and tools are available.
```
Ubuntu 16.04 LTS
make
wget
Python >= 3.5
Pip
Node.js
Yarn
```

## 2.How to build
```bash
make
```

## 3.How to upload
25
26
27
28
29
30
31
32

### upload for testing
```bash
TWINE_REPOSITORY_URL=https://test.pypi.org/legacy/ make upload
```
You may need to input the account and password of https://test.pypi.org during this process.

### upload for release
33
34
35
```bash
make upload
```
fishyds's avatar
fishyds committed
36
You may need to input the account and password of https://pypi.org during this process.