8000
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"ci","path":"ci","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"pvlib","path":"pvlib","contentType":"directory"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"MANIFEST.in","path":"MANIFEST.in","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"appveyor.yml","path":"appveyor.yml","contentType":"file"},{"name":"readthedocs.yml","path":"readthedocs.yml","contentType":"file"},{"name":"setup.cfg","path":"setup.cfg","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"},{"name":"versioneer.py","path":"versioneer.py","contentType":"file"}],"totalCount":14}},"fileTreeProcessingTime":8.447947000000001,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":139201679,"defaultBranch":"master","name":"pvlib-python","ownerLogin":"benbenboben","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2018-06-29T22:34:02.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/17276264?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"forecast","listCacheKey":"v0:1530311698.0","canEdit":false,"refType":"branch","currentOid":"ebbe2f4acba5bbf712cb2366aa220c2f73626714"},"path":"setup.py","currentUser":null,"blob":{"rawLines":["#!/usr/bin/env python","","import os","import re","import shutil","import sys","","try:"," from setuptools import setup, Command"," from setuptools.extension import Extension","except ImportError:"," raise RuntimeError('setuptools is required')","","","import versioneer","","","DESCRIPTION = ('A set of functions and classes for simulating the ' +"," 'performance of photovoltaic energy systems.')","LONG_DESCRIPTION = \"\"\"","PVLIB Python is a community supported tool that provides a set of","functions and classes for simulating the performance of photovoltaic","energy systems. PVLIB Python was originally ported from the PVLIB MATLAB","toolbox developed at Sandia National Laboratories and it implements many","of the models and methods developed at the Labs. More information on","Sandia Labs PV performance modeling programs can be found at","https://pvpmc.sandia.gov/. We collaborate with the PVLIB MATLAB project,","but operate independently of it.","","We need your help to make pvlib-python a great tool!","","Documentation: http://pvlib-python.readthedocs.io","","Source code: https://github.com/pvlib/pvlib-python","\"\"\"","","DISTNAME = 'pvlib'","LICENSE = 'BSD 3-Clause'","AUTHOR = 'PVLIB Python Developers'","MAINTAINER_EMAIL = 'holmgren@email.arizona.edu'","URL = 'https://github.com/pvlib/pvlib-python'","","INSTALL_REQUIRES = ['numpy \u003e= 1.9.0',"," 'pandas \u003e= 0.14.0',"," 'pytz',"," 'six',"," ]","SETUP_REQUIRES = ['pytest-runner']","TESTS_REQUIRE = ['pytest', 'nose']","","CLASSIFIERS = ["," 'Development Status :: 4 - Beta',"," 'License :: OSI Approved :: BSD License',"," 'Operating System :: OS Independent',"," 'Intended Audience :: Science/Research',"," 'Programming Language :: Python',"," 'Programming Language :: Python :: 2',"," 'Programming Language :: Python :: 2.7',"," 'Programming Language :: Python :: 3',"," 'Programming Language :: Python :: 3.3',"," 'Programming Language :: Python :: 3.4',"," 'Programming Language :: Python :: 3.5',"," 'Topic :: Scientific/Engineering',","]","","setuptools_kwargs = {"," 'zip_safe': False,"," 'scripts': [],"," 'include_package_data': True","}","","# set up pvlib packages to be installed and extensions to be compiled","PACKAGES = ['pvlib']","","extensions = []","","spa_sources = ['pvlib/spa_c_files/spa.c', 'pvlib/spa_c_files/spa_py.c']","spa_depends = ['pvlib/spa_c_files/spa.h']","spa_all_file_paths = map(lambda x: os.path.join(os.path.dirname(__file__), x),"," spa_sources + spa_depends)","","if all(map(os.path.exists, spa_all_file_paths)):"," print('all spa_c files found')"," PACKAGES.append('pvlib.spa_c_files')",""," spa_ext = Extension('pvlib.spa_c_files.spa_py',"," sources=spa_sources, depends=spa_depends)"," extensions.append(spa_ext)","else:"," print('WARNING: spa_c files not detected. ' +"," 'See installation instructions for more information.')","","","setup(name=DISTNAME,"," version=versioneer.get_version(),"," cmdclass=versioneer.get_cmdclass(),"," packages=PACKAGES,"," install_requires=INSTALL_REQUIRES,"," setup_requires=SETUP_REQUIRES,"," tests_require=TESTS_REQUIRE,"," ext_modules=extensions,"," description=DESCRIPTION,"," long_description=LONG_DESCRIPTION,"," author=AUTHOR,"," maintainer_email=MAINTAINER_EMAIL,"," license=LICENSE,"," url=URL,"," classifiers=CLASSIFIERS,"," **setuptools_kwargs)"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/benbenboben/pvlib-python/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"setup.py","displayUrl":"https://github.com/benbenboben/pvlib-python/blob/forecast/setup.py?raw=true","headerInfo":{"blobSize":"3.3 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"3709815","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fbenbenboben%2Fpvlib-python%2Fblob%2Fforecast%2Fsetup.py","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"109","truncatedSloc":"89"},"mode":"executable file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Python","languageID":303,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/benbenboben/pvlib-python/blob/forecast/setup.py","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/benbenboben/pvlib-python/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/benbenboben/pvlib-python/raw/refs/heads/forecast/setup.py","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":null},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/benbenboben/pvlib-python/branches":{"post":"C3TH91s0NigkrXFZJ4mAYl9QZOHEbpg7g28xqr__Jf2a58CNeqt-DskveX2GdKtSXUR8Ye7n1XXzYc0TF1i7Iw"},"/repos/preferences":{"post":"XGI31O8Db75RjNliFh4Fk8VF3d1hFbWc11Xahh4olxJCVJ1ANH0vya06msHsZ0ZPKdawCPTsMYbfXmTR2ebl3w"}}},"title":"pvlib-python/setup.py at forecast · benbenboben/pvlib-python","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}