Browse Source

Add Python 3 support (closes #16)

tags/v0.3
Ben Kurtovic 9 years ago
parent
commit
f6cd164400
3 changed files with 12 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +5
    -1
      gitup/config.py
  3. +6
    -0
      setup.py

+ 1
- 1
README.md View File

@@ -6,7 +6,7 @@ directories, and more, hopefully providing a great way to get everything
up-to-date for short periods of internet access between long periods of none. up-to-date for short periods of internet access between long periods of none.


gitup should work on OS X, Linux, and Windows. You should have the latest gitup should work on OS X, Linux, and Windows. You should have the latest
version of git and at least Python 2.7 installed.
version of git and either Python 2.7 or Python 3 installed.


# Installation # Installation




+ 5
- 1
gitup/config.py View File

@@ -5,9 +5,13 @@


from __future__ import print_function from __future__ import print_function


import ConfigParser as configparser
import os import os


try:
import configparser
except ImportError: # Python 2
import ConfigParser as configparser

from colorama import Fore, Style from colorama import Fore, Style


__all__ = ["get_bookmarks", "add_bookmarks", "delete_bookmarks", __all__ = ["get_bookmarks", "add_bookmarks", "delete_bookmarks",


+ 6
- 0
setup.py View File

@@ -35,8 +35,14 @@ setup(
"Natural Language :: English", "Natural Language :: English",
"Operating System :: MacOS :: MacOS X", "Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux", "Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Version Control" "Topic :: Software Development :: Version Control"
] ]
) )

Loading…
Cancel
Save