- Fork it.
- Clone it
create a virtualenv
$ virtualenv develop # Create virtual environment
$ source develop/bin/activate # Change default python to virtual one
(develop)$ git clone https://github.com/ab-anand/Filezen.git
(develop)$ cd Filezen
(develop)$ pip install -r requirements.txt # Install requirements for 'Filezen' in virtual environment
Or, if virtualenv
is not installed on your system:
$ wget https://raw.github.com/pypa/virtualenv/master/virtualenv.py
$ python virtualenv.py develop # Create virtual environment
$ source develop/bin/activate # Change default python to virtual one
(develop)$ git clone https://github.com/ab-anand/Filezen.git
(develop)$ cd Filezen
(develop)$ pip install -r requirements.txt # Install requirements for 'Vocabulary' in virtual environment
- Create your feature branch (
$ git checkout -b my-new-awesome-feature
) - Commit your changes (
$ git commit -am 'Added <xyz> feature'
) - Run tests
(develop) $ python -m unittest discover tests
Conform to PEP8 and if everything is running fine, integrate your feature
- Push to the branch (
$ git push origin my-new-awesome-feature
) - Create new Pull Request
Hack away!
[*] | A Desktop app using libraries like Tkinter which utilizes Filezen to organize files. |
[†] | Some more unittests |
[‡] | Confirmation to move rename file if a file with a same name is already present |
Filezen
uses unittesting
for testing purposes.
Running the test cases
$ python -m unittest discover tests
.........
----------------------------------------------------------------------
Ran 10 tests in 0.008s
OK