Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling the AppAuthor directory on Windows. #42

Merged

Conversation

dstufft
Copy link
Contributor

@dstufft dstufft commented May 3, 2014

I haven't actually tested this on Windows as I don't have easy access to one with Python setup at the moment. However I'm fairly sure this is correct.

This is part of #40

srid pushed a commit that referenced this pull request May 3, 2014
Allow disabling the AppAuthor directory on Windows.
@srid srid merged commit a2c0f8f into ActiveState:master May 3, 2014
srid pushed a commit that referenced this pull request May 3, 2014
@srid
Copy link
Contributor

srid commented May 3, 2014

this is what i saw on Windows 8:

C:\Users\Sridhar\Documents\GitHub\appdirs [master +0 ~1 -0]> python .\appdirs.py
-- app dirs (with optional 'version')
user_data_dir: C:\Users\Sridhar\AppData\Local\MyCompany\MyApp\1.0
site_data_dir: C:\ProgramData\MyCompany\MyApp\1.0
user_config_dir: C:\Users\Sridhar\AppData\Local\MyCompany\MyApp\1.0
site_config_dir: C:\ProgramData\MyCompany\MyApp\1.0
user_cache_dir: C:\Users\Sridhar\AppData\Local\MyCompany\MyApp\Cache\1.0
user_log_dir: C:\Users\Sridhar\AppData\Local\MyCompany\MyApp\1.0\Logs

-- app dirs (without optional 'version')
user_data_dir: C:\Users\Sridhar\AppData\Local\MyCompany\MyApp
site_data_dir: C:\ProgramData\MyCompany\MyApp
user_config_dir: C:\Users\Sridhar\AppData\Local\MyCompany\MyApp
site_config_dir: C:\ProgramData\MyCompany\MyApp
user_cache_dir: C:\Users\Sridhar\AppData\Local\MyCompany\MyApp\Cache
user_log_dir: C:\Users\Sridhar\AppData\Local\MyCompany\MyApp\Logs

-- app dirs (without optional 'appauthor')
user_data_dir: C:\Users\Sridhar\AppData\Local\MyApp\MyApp
site_data_dir: C:\ProgramData\MyApp\MyApp
user_config_dir: C:\Users\Sridhar\AppData\Local\MyApp\MyApp
site_config_dir: C:\ProgramData\MyApp\MyApp
user_cache_dir: C:\Users\Sridhar\AppData\Local\MyApp\MyApp\Cache
user_log_dir: C:\Users\Sridhar\AppData\Local\MyApp\MyApp\Logs

-- app dirs (with disabled 'appauthor')
user_data_dir: C:\Users\Sridhar\AppData\Local\MyApp
site_data_dir: C:\ProgramData\MyApp
user_config_dir: C:\Users\Sridhar\AppData\Local\MyApp
site_config_dir: C:\ProgramData\MyApp
user_cache_dir: C:\Users\Sridhar\AppData\Local\MyApp\Cache
user_log_dir: C:\Users\Sridhar\AppData\Local\MyApp\Logs
C:\Users\Sridhar\Documents\GitHub\appdirs [master +0 ~1 -0]>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants