## What changes were proposed in this pull request?
add setup.py for ambari-common (it will be continued for ambari-server / 
ambari-agent as well), to make it possible to install to a remote pip repo, 
therefore we can use these packages from other projects (e.g.: for testing 
stack code)

## How was this patch tested?
started own pypi server
```bash
pypi-server -p 8080 -P htpasswd.txt --overwrite
```

built pypi package:
```bash
python setup.py sdist --dist-dir "/my/path/..." upload -r http://localhost:8080
```

install/update the module to my site-packages
```bash
# use --upgrade flag to update a version
pip install --upgrade --extra-index-url "http://localhost:8080";  ambari-commons
```

Please review @adoroszlai @jonathan-hurley 

[ Full content available at: https://github.com/apache/ambari/pull/2195 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to