summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSridhar Ratnakumar <happyandharmless@icloud.com>2014-08-18 11:28:53 -0700
committerSridhar Ratnakumar <happyandharmless@icloud.com>2014-08-18 11:28:53 -0700
commit8e6c46a66f6f870c78edaf90de1cf1f5a34ae0eb (patch)
tree00148ac319166189eff0ea5ed485195024a63a08
parent3e3651f4c6a5c4aaf9c641da097e245de5dbf2b3 (diff)
parentb6a2ecdd8bc37510fe7463d92241e61882c134b9 (diff)
downloadappdirs-8e6c46a66f6f870c78edaf90de1cf1f5a34ae0eb.tar.gz
Merge pull request #48 from DaleEMoore/patch-1
Update README.rst
-rw-r--r--README.rst34
1 files changed, 17 insertions, 17 deletions
diff --git a/README.rst b/README.rst
index dfafbdf..3dc04e1 100644
--- a/README.rst
+++ b/README.rst
@@ -54,13 +54,13 @@ On Mac OS X::
>>> appname = "SuperApp"
>>> appauthor = "Acme"
>>> user_data_dir(appname, appauthor)
- '/Users/trentm/Library/Application Support/SuperApp'
+ '/Users/Acme/Library/Application Support/SuperApp'
>>> site_data_dir(appname, appauthor)
'/Library/Application Support/SuperApp'
>>> user_cache_dir(appname, appauthor)
- '/Users/trentm/Library/Caches/SuperApp'
+ '/Users/Acme/Library/Caches/SuperApp'
>>> user_log_dir(appname, appauthor)
- '/Users/trentm/Library/Logs/SuperApp'
+ '/Users/Acme/Library/Logs/SuperApp'
On Windows 7::
@@ -68,13 +68,13 @@ On Windows 7::
>>> appname = "SuperApp"
>>> appauthor = "Acme"
>>> user_data_dir(appname, appauthor)
- 'C:\\Users\\trentm\\AppData\\Local\\Acme\\SuperApp'
+ 'C:\\Users\\Acme\\AppData\\Local\\Acme\\SuperApp'
>>> user_data_dir(appname, appauthor, roaming=True)
- 'C:\\Users\\trentm\\AppData\\Roaming\\Acme\\SuperApp'
+ 'C:\\Users\\Acme\\AppData\\Roaming\\Acme\\SuperApp'
>>> user_cache_dir(appname, appauthor)
- 'C:\\Users\\trentm\\AppData\\Local\\Acme\\SuperApp\\Cache'
+ 'C:\\Users\\Acme\\AppData\\Local\\Acme\\SuperApp\\Cache'
>>> user_log_dir(appname, appauthor)
- 'C:\\Users\\trentm\\AppData\\Local\\Acme\\SuperApp\\Logs'
+ 'C:\\Users\\Acme\\AppData\\Local\\Acme\\SuperApp\\Logs'
On Linux::
@@ -82,17 +82,17 @@ On Linux::
>>> appname = "SuperApp"
>>> appauthor = "Acme"
>>> user_data_dir(appname, appauthor)
- '/home/trentm/.local/share/SuperApp
+ '/home/Acme/.local/share/SuperApp
>>> site_data_dir(appname, appauthor)
'/usr/local/share/SuperApp'
>>> site_data_dir(appname, appauthor, multipath=True)
'/usr/local/share/SuperApp:/usr/share/SuperApp'
>>> user_cache_dir(appname, appauthor)
- '/home/trentm/.cache/SuperApp'
+ '/home/Acme/.cache/SuperApp'
>>> user_log_dir(appname, appauthor)
- '/home/trentm/.cache/SuperApp/log'
+ '/home/Acme/.cache/SuperApp/log'
>>> user_config_dir(appname)
- '/home/trentm/.config/SuperApp'
+ '/home/Acme/.config/SuperApp'
>>> site_config_dir(appname)
'/etc/xdg/SuperApp'
>>> os.environ['XDG_CONFIG_DIRS'] = '/etc:/usr/local/etc'
@@ -108,13 +108,13 @@ On Linux::
>>> from appdirs import AppDirs
>>> dirs = AppDirs("SuperApp", "Acme")
>>> dirs.user_data_dir
- '/Users/trentm/Library/Application Support/SuperApp'
+ '/Users/Acme/Library/Application Support/SuperApp'
>>> dirs.site_data_dir
'/Library/Application Support/SuperApp'
>>> dirs.user_cache_dir
- '/Users/trentm/Library/Caches/SuperApp'
+ '/Users/Acme/Library/Caches/SuperApp'
>>> dirs.user_log_dir
- '/Users/trentm/Library/Logs/SuperApp'
+ '/Users/Acme/Library/Logs/SuperApp'
@@ -128,11 +128,11 @@ dirs::
>>> from appdirs import AppDirs
>>> dirs = AppDirs("SuperApp", "Acme", version="1.0")
>>> dirs.user_data_dir
- '/Users/trentm/Library/Application Support/SuperApp/1.0'
+ '/Users/Acme/Library/Application Support/SuperApp/1.0'
>>> dirs.site_data_dir
'/Library/Application Support/SuperApp/1.0'
>>> dirs.user_cache_dir
- '/Users/trentm/Library/Caches/SuperApp/1.0'
+ '/Users/Acme/Library/Caches/SuperApp/1.0'
>>> dirs.user_log_dir
- '/Users/trentm/Library/Logs/SuperApp/1.0'
+ '/Users/Acme/Library/Logs/SuperApp/1.0'