This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ProxyODict(object): | |
def __init__(self, parent, collection_name, childclass, ordername, keyname, valuename): | |
self.parent = parent | |
self.collection_name = collection_name | |
self.childclass = childclass | |
self.ordername = ordername | |
self.keyname = keyname | |
self.valuename = valuename | |
@property |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install virtualbox-guest-dkms | |
sudo apt-get install git | |
sudo apt-get install python-pip | |
sudo pip install spyder | |
sudo pip install matplotlib | |
sudo apt-get install python-qt4 python-sphinx python-numpy python-pandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nosetests --with-coverage --cover-package=smuggle -s | |
py.test --cov=smuggle --cov-report=term --cov-report=html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vsf['year'] = [d.year for d in vsf.index] | |
vsf[['contribution_room','year']].boxplot(rot=90,by='year') |
- Update HISTORY.rst
- Update version number in
my_project/__init__.py
- Update version number in
setup.py
- Install the package again for local development, but with the new version number:
python setup.py develop
- Run the tests:
python setup.py test
NewerOlder