Commits

Alexandre Macabies  committed 03ec8a8

minor corrections in README; fixed non-ascii error in setup.py; adding licence and shebangs eveywhere

  • Participants
  • Parent commits 3a0a341

Comments (0)

Files changed (4)

 # What is it?
 
-This tool is a basic command-line interface to the [ge.tt](http://ge.tt/)
+This tool is a simple command-line interface to the [ge.tt](http://ge.tt/)
 file sharing website.
-You can use it to upload files, list and create shares, and also delete those.
+You can use it to upload files, list and create shares and delete those.
 
 One of the advantages of ge.tt over other sharing websites is that you don't
 need to wait for the uploading process to end to be able to share a file
 will be able to download it while it's uploading.
 
 Every file is part of share, which can contain several of them.
-Shares can have a title, and are identified by an URL in the form of
-*http://ge.tt/share_name*
+Shares can have a custom title, and are identified by an URL in the form of
+`http://ge.tt/share_name`
 
-Here is an example of what it looks like when uploading files :
+Here is an example of what it looks like when uploading files:
 
     --------------------------------------------------------------------------------
     Share: Untitled (7 file(s)) [http://ge.tt/8ExGXpA]
     - README.md                        2.02 KB  http://ge.tt/8ExGXpA/v/5  remote
     - MANIFEST.in                     13.00 B   http://ge.tt/8ExGXpA/v/4  remote
     - setup.py                       539.00 B   http://ge.tt/8ExGXpA/v/6  remote
-    
+
     COPYING         (1/7) [##################################################] 100 %
     distribute...py (2/7) [##################################################] 100 %
     gett.py         (3/7) [##################################################] 100 %
     MANIFEST.in     (5/7) [##################################################] 100 %
     README.md       (6/7) [##################################################] 100 %
     setup.py        (7/7) [##################################################] 100 %
-    
-    Storage used: 316.30 KB out of 3.00 GB (0 %)
+
+    Storage used: 316.30 KB out of 2.00 GB (0 %)
 
 # Installation
 
-To use this tool, you need to have Python 3 installed :
+To use this tool, you need to have __Python 3__ installed:
 
 - If you're using Windows you can download it from
-  [python.org](http://python.org/download/)  
-  Please make sure to pick Python 3.x and not Python 2.X !
+  [python.org](http://python.org/download/)
+  Please make sure to pick Python 3.x and not Python 2.x!
 
-- For apt-get based Linux distributions (such as Debian or Ubuntu),
-  you can install it with :  
-  `# apt-get install python3`
+- For apt-get-based Linux distributions (such as Debian or Ubuntu),
+  you can install it with:
+  `$ apt-get install python3`
 
-You then need to install gett-cli (this will provide the *gett* command):
+You then need to install gett-cli (this will provide the `gett` command):
 
 - on Windows, use this [MSI Installer](https://bitbucket.org/mickael9/gett-cli/downloads/gett-cli-0.2.1.win32.msi)
-- on other systems, you can simply use *pip* if you have it :  
-  `# pip install gett-cli`  
+- on other systems, you can simply use `pip` if you have it:
+  `$ pip install gett-cli`
   alternatively, you can download the [source tarball](https://bitbucket.org/mickael9/gett-cli/get/v0.2.1.tar.bz2)
-  and run  
-  `# python3 setup.py install` (you might need to substitute *python3* to *python*
+  and run
+  `$ python3 setup.py install` (you might need to substitute `python3` to `python`
    if python3 is the default interpreter)
 
 That's it!
     $ gett --delete http://ge.tt/share_name/v/0
 
 
-Note that whenever *http://ge.tt/<share_name>[/v/<fileid>]* is expected,
-you can omit the *http://ge.tt/* part: 
+Note that whenever `http://ge.tt/<share_name>[/v/<fileid>]` is expected,
+you can omit the `http://ge.tt/` part:
 
     $ gett --delete share_name/v/0
 
+#!/usr/bin/env python
+# coding: utf-8
+
 # Copyright 2011 - Mickaël THOMAS
 
 # This program is free software: you can redistribute it and/or modify

File gett_uploader.py

 #!/usr/bin/env python
+# coding: utf-8
 
 # Copyright 2011 - Mickaël THOMAS
 
 #!/usr/bin/env python
+# coding: utf-8
+
+# Copyright 2011 - Mickaël THOMAS
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 from distribute_setup import use_setuptools
 use_setuptools()
 setup(name='gett-cli',
       version='0.2.1',
       description='A command-line Ge.tt uploader and manager',
-      author='Mickaël THOMAS',
+      author=u'Mickaël THOMAS',
       author_email='mickael9@gmail.com',
       url='https://bitbucket.org/mickael9/gett-cli/',
       py_modules=['gett', 'gett_uploader'],