Hello,
I managed to package certitude:
$ git clone https://github.com/maaaaz/certitude.git
$ cd certitude
$ pip install .
$ certitude -h
I had to patch some hardcoded file paths:
- So make sure to use
os.path.join(os.path.dirname(__file__), '<file>' as much as possible: perform some tests to see if haven't forgotten other hardcoded file paths
- You can check diffs here
For the next steps:
- Register an account on Pypi (test and production)
- Configure your
.pypirc file with credentials
$ cd certitude
$ python setup.py sdist
$ pip install twine (for HTTP upload to Pypi)
$ twine upload dist/*
- Profit
For further information: https://packaging.python.org/tutorials/distributing-packages/
Cheers
Hello,
I managed to package
certitude:$ git clone https://github.com/maaaaz/certitude.git$ cd certitude$ pip install .$ certitude -hI had to patch some hardcoded file paths:
os.path.join(os.path.dirname(__file__), '<file>'as much as possible: perform some tests to see if haven't forgotten other hardcoded file pathsFor the next steps:
.pypircfile with credentials$ cd certitude$ python setup.py sdist$ pip install twine(for HTTP upload to Pypi)$ twine upload dist/*For further information: https://packaging.python.org/tutorials/distributing-packages/
Cheers