summaryrefslogtreecommitdiff
path: root/appdirs.py
Commit message (Collapse)AuthorAgeFilesLines
* Use ternary operator for better readabilitySergey Fedoseev2020-12-111-1/+1
|
* Add os.environ fallback for jythonKevin McClusky2020-08-291-1/+18
|
* Merge pull request #133 from ofek/patch-1Jeff Rouse2020-06-021-36/+7
|\ | | | | Remove unnecessary use of pywin32 for loading Windows folder
| * Update appdirs.pyOfek Lev2020-02-261-2/+4
| |
| * Remove unnecessary use of pywin32 for loading Windows folderOfek Lev2020-02-251-36/+5
| |
* | Remove shebang from nonexecutable scriptTomas Hrnciar2020-04-091-1/+0
|/ | | | | | | | | | | | | | When packaging appdirs and pip (which bundles it) in Fedora, we have realized that there is a nonexecuatble file with a shebang line. It seems that the primary purpose of this file is to be imported from Python code or to be executed via `python appdirs.py` or `python -m appdirs` and hence the shebang appears to be unnecessary. Shebangs are hard to handle when doing downstream packaging, because it makes sense for upstream to use `#!/usr/bin/env python` while in the RPM package, we need to avoid that and use a more specific interpreter. Since the shebang was unused, I propose to remove it to avoid the problems.
* Prefer https:// links where availableJon Dufresne2018-08-281-2/+2
|
* Corrected *_config_dir() for OSXRex Kerr2017-11-061-3/+11
|
* bumpJeff Rouse2017-04-291-1/+1
|
* Don't import appdirs from setup.pyLeonardo Rochael Almeida2017-04-111-2/+2
| | | | | | | | | | In general, setup.py should never import the code it's trying to install. During a setup.py run, there is no guarantee that importing `appdirs` will actually import the one in the same directory as `setup.py`. Instead, read the version number out of `appdirs.py` by opening it.
* Bump.Jeff Rouse2017-03-061-1/+1
|
* Merge pull request #76 from yan12125/fix-py36-invalid-escape-sequenceJeff Rouse2017-03-051-2/+2
|\ | | | | Fix DeprecationWarning in Python 3.6
| * Fix DeprecationWarning in Python 3.6Yen Chi Hsuan2016-09-161-2/+2
| |
* | Bump version.Jeff Rouse2017-02-231-1/+1
| |
* | Merge pull request #60 from jwilk/spellingJeff Rouse2016-12-291-1/+1
|\ \ | | | | | | Fix typo
| * | Fix typoJakub Wilk2015-09-091-1/+1
| |/
* | Merge pull request #56 from jaraco/issue-55Jeff Rouse2016-12-281-2/+2
|\ \ | | | | | | Make appname optional in AppDirs wrapper as in the wrapped functions. Fixes #55.
| * | Make appname optional in AppDirs wrapper as in the wrapped functions. Fixes #55.Jason R. Coombs2015-08-011-2/+2
| |/
* | Merge pull request #53 from carlwgeorge/state_dirJeff Rouse2016-12-271-3/+54
|\ \ | | | | | | support XDG_STATE_HOME
| * | support XDG_STATE_HOMEcarlgeorge2015-06-281-3/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a proposal to add another directory type to the XDG Base Directory Specification. https://wiki.debian.org/XDGBaseDirectorySpecification#state To be clear, this is _not_ currently part of the specification. However, I think it would be a valuable addition to the appdirs module. I wasn't sure if there was an equivalent for OSX or Windows, so for now those fall back to using user_data_dir.
* | | Merge pull request #52 from carlwgeorge/typosJeff Rouse2016-12-271-4/+4
|\ \ \ | |_|/ |/| | fix typos in doc strings
| * | fix typos in doc stringscarlgeorge2015-06-281-4/+4
| |/ | | | | | | | | | | | | * site_data_dir examples were described as 'user data', change to 'site data' * user_config_dir examples were described as 'user data', change to 'user config' * site_config_dir examples were described as 'user data', change to 'site config' * user_log_dir examples were described as 'user cache', change to 'user log'
* | Update appdirs.pyThéo Segonds2015-07-191-1/+1
|/ | | Fix typo in a variable name
* import winreg on py3Sridhar Ratnakumar2014-08-171-1/+4
| | | | fixes #38
* add dockerfileSridhar Ratnakumar2014-08-171-0/+2
|
* open for devSridhar Ratnakumar2014-08-171-1/+1
|
* call site_config_dir from AppDirs().site_config_dirThomas Grainger2014-08-121-1/+1
|
* Removed `u` prefix from strings to fix python 3.2 syntax errorcpburnz2014-05-071-2/+2
|
* Calculate buffer size oncecpburnz2014-05-071-7/+8
|
* Update appdirs.pyCaleb P. Burns2014-05-071-1/+1
|
* Update appdirs.pyCaleb P. Burns2014-05-071-2/+31
| | | Jython on Windows has neither `ctypes.windll` no `_winreg`, but this can be patched using `jna`.
* Added windows and mac support for jythoncpburnz2014-05-071-11/+27
|
* Allow disabling the AppAuthor directory on Windows.Donald Stufft2014-05-031-15/+35
|
* prep for dev (1.4.0)Sridhar Ratnakumar2014-04-211-1/+1
|
* Some PEP 8 fixes.Benjamin Drung2014-03-261-24/+33
|
* Merge pull request #31 from trevorld/patch-1Sridhar Ratnakumar2014-03-241-2/+2
|\ | | | | Fix user_config_dir documentation.
| * Fix user_config_dir documentation.trevorld2013-08-191-2/+2
| |
* | Fix typosbearlt12013-06-221-1/+1
|/
* typo fixEddy Petrișor2013-03-211-2/+2
|
* use sys.platform == "win32" (fixes #23)Eddy Petrișor2013-03-211-5/+5
| | | | | | | | sys.platform == "win32" instead of sys.platform.startswith("win") because "win32" is returend even on 64 bit Windows, too See details: http://stackoverflow.com/questions/2144748/is-it-safe-to-use-sys-platform-win32-check-on-64-bit-python/2145582#2145582
* typoSridhar Ratnakumar2013-03-211-1/+1
|
* make 'python appdirs.py' show new functions and defaultsSridhar Ratnakumar2013-03-211-2/+9
|
* Merge branch 'activestate' into nextEddy Petrișor2013-03-191-56/+180
| | | | | Conflicts: appdirs.py
* Radical simplification ...Matěj Cepl2013-03-181-0/+346
Don’t use third part modules when you don’t have to. This library uses setup like for thousands line program (including own test harness), but doesn't contain almost anything. I think radical simplification would be helpful. Fixes #15 Fixes #10