Skip to content

Commit

Permalink
Updated system info and extern packages (#5175)
Browse files Browse the repository at this point in the history
Co-authored-by: Stuart Mumford <stuart@cadair.com>
  • Loading branch information
nabobalis and Cadair committed Apr 8, 2021
1 parent ca2cecb commit 0df8534
Show file tree
Hide file tree
Showing 10 changed files with 779 additions and 789 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ stages:

- linux: py38-devdeps

- linux: py38-base_deps
- linux: base_deps

# On branches which aren't master, and not Pull Requests, build the wheels but only upload them on tags
- ${{ if and(ne(variables['Build.Reason'], 'PullRequest'), or(ne(variables['Build.SourceBranchName'], 'master'), eq(variables['Build.Reason'], 'Schedule'), eq(variables['Build.Reason'], 'Manual'))) }}:
Expand Down
1 change: 1 addition & 0 deletions changelog/5175.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated `sunpy.util.sysinfo.system_info` to return all optional dependencies of sunpy.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import os
import sys
import datetime
from pkg_resources import get_distribution, DistributionNotFound
from pkg_resources import get_distribution
from packaging.version import Version

# -- Check for dependencies ----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion sunpy/extern/appdirs.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def user_data_dir(appname=None, appauthor=None, version=None, roaming=False):
if system == "win32":
if appauthor is None:
appauthor = appname
const = roaming and "CSIDL_APPDATA" or "CSIDL_LOCAL_APPDATA"
const = "CSIDL_APPDATA" if roaming else "CSIDL_LOCAL_APPDATA"
path = os.path.normpath(_get_win_folder(const))
if appname:
if appauthor is not False:
Expand Down

0 comments on commit 0df8534

Please sign in to comment.