8000 plotly.py/setup.py at master · yutianc/plotly.py · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".circleci","path":".circleci","contentType":"directory"},{"name":".github","path":".github","contentType":"directory"},{"name":"_plotly_utils","path":"_plotly_utils","contentType":"directory"},{"name":"codegen","path":"codegen","contentType":"directory"},{"name":"example_images","path":"example_images","contentType":"directory"},{"name":"js","path":"js","contentType":"directory"},{"name":"plotly","path":"plotly","contentType":"directory"},{"name":"plotlywidget","path":"plotlywidget","contentType":"directory"},{"name":"recipe","path":"recipe","contentType":"directory"},{"name":"specs","path":"specs","contentType":"directory"},{"name":"submodules","path":"submodules","contentType":"directory"},{"name":"templategen","path":"templategen","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".gitmodules","path":".gitmodules","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CODE_OF_CONDUCT.md","path":"CODE_OF_CONDUCT.md","contentType":"file"},{"name":"LICENSE.txt","path":"LICENSE.txt","contentType":"file"},{"name":"MANIFEST.in","path":"MANIFEST.in","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"README.rst","path":"README.rst","contentType":"file"},{"name":"bld.bat","path":"bld.bat","contentType":"file"},{"name":"build.sh","path":"build.sh","contentType":"file"},{"name":"build_for_conda.md","path":"build_for_conda.md","contentType":"file"},{"name":"compatibility.md","path":"compatibility.md","contentType":"file"},{"name":"contributing.md","path":"contributing.md","contentType":"file"},{"name":"make_instructions.txt","path":"make_instructions.txt","contentType":"file"},{"name":"makefile","path":"makefile","contentType":"file"},{"name":"migration-guide.md","path":"migration-guide.md","contentType":"file"},{"name":"optional-requirements.txt","path":"optional-requirements.txt","contentType":"file"},{"name":"package-lock.json","path":"package-lock.json","contentType":"file"},{"name":"plotlywidget.json","path":"plotlywidget.json","contentType":"file"},{"name":"requirements.txt","path":"requirements.txt","contentType":"file"},{"name":"setup.cfg","path":"setup.cfg","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"},{"name":"tox.ini","path":"tox.ini","contentType":"file"}],"totalCount":36}},"fileTreeProcessingTime":10.333096,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":157814947,"defaultBranch":"master","name":"plotly.py","ownerLogin":"yutianc","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2018-11-16T04:59:28.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2194482?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1614799955.2796211","canEdit":false,"refType":"branch","currentOid":"a8ae062795ddbf9867b8578fe6d9e244948c15ff"},"path":"setup.py","currentUser":null,"blob":{"rawLines":["from setuptools import setup, Command","from setuptools.command.build_py import build_py","from setuptools.command.egg_info import egg_info","from setuptools.command.sdist import sdist","from subprocess import check_call","from distutils import log","","import os","import sys","import platform","import json","","exec(open('plotly/version.py').read())","","here = os.path.dirname(os.path.abspath(__file__))","node_root = os.path.join(here, 'js')","is_repo = os.path.exists(os.path.join(here, '.git'))","","npm_path = os.pathsep.join(["," os.path.join(node_root, 'node_modules', '.bin'),"," os.environ.get('PATH', os.defpath),","])","","","# Load plotly.js version from js/package.json","def plotly_js_version():"," with open('js/package.json', 'rt') as f:"," package_json = json.load(f)"," version = package_json['dependencies']['plotly.js']",""," return version","","","def readme():"," with open('README.rst') as f:"," return f.read()","","","def js_prerelease(command, strict=False):"," \"\"\"decorator for building minified js/css prior to another command\"\"\""," class DecoratedCommand(command):"," def run(self):"," jsdeps = self.distribution.get_command_obj('jsdeps')"," if not is_repo and all(os.path.exists(t) for t in jsdeps.targets):"," # sdist, nothing to do"," command.run(self)"," return",""," try:"," self.distribution.run_command('jsdeps')"," except Exception as e:"," missing = [t for t in jsdeps.targets if not os.path.exists(t)]"," if strict or missing:"," log.warn('rebuilding js and css failed')"," if missing:"," log.error('missing files: %s' % missing)"," raise e"," else:"," log.warn('rebuilding js and css failed (not a problem)')"," log.warn(str(e))"," command.run(self)"," update_package_data(self.distribution)"," return DecoratedCommand","","","def update_package_data(distribution):"," \"\"\"update package_data to catch changes during setup\"\"\""," build_py = distribution.get_command_obj('build_py')"," # distribution.package_data = find_package_data()"," # re-init build_py options which load package_data"," build_py.finalize_options()","","","class NPM(Command):"," description = 'install package.json dependencies using npm'",""," user_options = []",""," node_modules = os.path.join(node_root, 'node_modules')",""," targets = ["," os.path.join(here, 'plotlywidget', 'static', 'extension.js'),"," os.path.join(here, 'plotlywidget', 'static', 'index.js')"," ]",""," def initialize_options(self):"," pass",""," def finalize_options(self):"," pass",""," def get_npm_name(self):"," npmName = 'npm'"," if platform.system() == 'Windows':"," npmName = 'npm.cmd'",""," return npmName",""," def has_npm(self):"," npmName = self.get_npm_name();"," try:"," check_call([npmName, '--version'])"," return True"," except:"," return False",""," def should_run_npm_install(self):"," package_json = os.path.join(node_root, 'package.json')"," node_modules_exists = os.path.exists(self.node_modules)"," return self.has_npm()",""," def run(self):"," has_npm = self.has_npm()"," if not has_npm:"," log.error("," \"`npm` unavailable. If you're running this command using sudo, make sure `npm` is available to sudo\")",""," env = os.environ.copy()"," env['PATH'] = npm_path",""," if self.should_run_npm_install():"," log.info(\"Installing build dependencies with npm. This may take a while...\")"," npmName = self.get_npm_name();"," check_call([npmName, 'install'], cwd=node_root, stdout=sys.stdout, stderr=sys.stderr)"," os.utime(self.node_modules, None)",""," for t in self.targets:"," if not os.path.exists(t):"," msg = 'Missing file: %s' % t"," if not has_npm:"," msg += '\\nnpm is required to build a development version of widgetsnbextension'"," raise ValueError(msg)",""," # update package data in case this created new files"," update_package_data(self.distribution)","","","class CodegenCommand(Command):"," description = 'Generate class hierarchy from Plotly JSON schema'"," user_options = []",""," def initialize_options(self):"," pass",""," def finalize_options(self):"," pass",""," def run(self):"," if sys.version_info.major != 3 or sys.version_info.minor \u003c 6:"," raise ImportError("," 'Code generation must be executed with Python \u003e= 3.6')",""," from codegen import perform_codegen"," perform_codegen()","","","class UpdateSchemaCommand(Command):"," description = 'Download latest version of the plot-schema JSON file'"," user_options = []",""," def initialize_options(self):"," pass",""," def finalize_options(self):"," pass",""," def run(self):"," if sys.version_info.major != 3:"," raise ImportError('Schema download must be executed with Python 3')",""," import urllib.request"," url = ('https://raw.githubusercontent.com/plotly/plotly.js/'"," 'v%s/dist/plot-schema.json' % plotly_js_version())"," with urllib.request.urlopen(url) as response:",""," with open('plotly/package_data/plot-schema.json', 'wb') as f:"," f.write(response.read())","","","class UpdateBundleCommand(Command):"," description = 'Download latest version of the plot-schema JSON file'"," user_options = []",""," def initialize_options(self):"," pass",""," def finalize_options(self):"," pass",""," def run(self):"," if sys.version_info.major != 3:"," raise ImportError('Schema download must be executed with Python 3')",""," import urllib.request"," url = ('https://raw.githubusercontent.com/plotly/plotly.js/'"," 'v%s/dist/plotly.min.js' % plotly_js_version())"," with urllib.request.urlopen(url) as response:",""," with open('plotly/package_data/plotly.min.js', 'wb') as f:"," f.write(response.read())",""," # Write plotly.js version file"," with open('plotly/offline/_plotlyjs_version.py', 'w') as f:"," f.write(\"\"\"\\","# DO NOT EDIT","# This file is generated by the updatebundle setup.py command","__plotlyjs_version__ = '{plotlyjs_version}'","\"\"\".format(plotlyjs_version=plotly_js_version()))","","","class UpdatePlotlyJsCommand(Command):"," description = 'Update project to a new version of plotly.js'"," user_options = []",""," def initialize_options(self):"," pass",""," def finalize_options(self):"," pass",""," def run(self):"," self.run_command('updatebundle')"," self.run_command('updateschema')"," self.run_command('codegen')","","","graph_objs_packages = ["," d[0] for d in os.walk('plotly/graph_objs')"," if not d[0].endswith('__pycache__')]","","","validator_packages = ["," d[0] for d in os.walk('plotly/validators')"," if not d[0].endswith('__pycache__')]","","","setup(name='plotly',"," version=__version__,"," use_2to3=False,"," author='Chris P',"," author_email='chris@plot.ly',"," maintainer='Chris P',"," maintainer_email='chris@plot.ly',"," url='https://plot.ly/python/',"," description=\"Python plotting library for collaborative, \""," \"interactive, publication-quality graphs.\","," long_description=readme(),"," classifiers=["," 'Development Status :: 4 - Beta',"," '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 :: Visualization',"," ],"," license='MIT',"," packages=['plotly',"," 'plotlywidget',"," 'plotly/api',"," 'plotly/api/v1',"," 'plotly/api/v2',"," 'plotly/dashboard_objs',"," 'plotly/presentation_objs',"," 'plotly/plotly',"," 'plotly/plotly/chunked_requests',"," 'plotly/figure_factory',"," 'plotly/grid_objs',"," 'plotly/widgets',"," 'plotly/offline',"," 'plotly/io',"," 'plotly/matplotlylib',"," 'plotly/matplotlylib/mplexporter',"," 'plotly/matplotlylib/mplexporter/renderers',"," '_plotly_utils'] + graph_objs_packages + validator_packages,"," package_data={'plotly': ['package_data/*', 'package_data/templates/*'],"," 'plotlywidget': ['static/*']},"," data_files=["," ('share/jupyter/nbextensions/plotlywidget', ["," 'plotlywidget/static/extension.js',"," 'plotlywidget/static/index.js',"," 'plotlywidget/static/index.js.map',"," ]),"," ('etc/jupyter/nbconfig/notebook.d', ['plotlywidget.json']),"," ],"," install_requires=['decorator\u003e=4.0.6',"," 'nbformat\u003e=4.2',"," 'pytz',"," 'requests',"," 'retrying\u003e=1.3.3',"," 'six'],"," zip_safe=False,"," cmdclass={"," 'build_py': js_prerelease(build_py),"," 'egg_info': js_prerelease(egg_info),"," 'sdist': js_prerelease(sdist, strict=True),"," 'jsdeps': NPM,"," 'codegen': CodegenCommand,"," 'updateschema': UpdateSchemaCommand,"," 'updatebundle': UpdateBundleCommand,"," 'updateplotlyjs': js_prerelease(UpdatePlotlyJsCommand)"," },",")"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/yutianc/plotly.py/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"setup.py","displayUrl":"https://github.com/yutianc/plotly.py/blob/master/setup.py?raw=true","headerInfo":{"blobSize":"9.45 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":"b8c6d0e","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fyutianc%2Fplotly.py%2Fblob%2Fmaster%2Fsetup.py","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"304","truncatedSloc":"242"},"mode":"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":"/yutianc/plotly.py/blob/master/setup.py","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/yutianc/plotly.py/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/yutianc/plotly.py/raw/refs/heads/master/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":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"here","kind":"constant","ident_start":330,"ident_end":334,"extent_start":330,"extent_end":379,"fully_qualified_name":"here","ident_utf16":{"start":{"line_number":14,"utf16_col":0},"end":{"line_number":14,"utf16_col":4}},"extent_utf16":{"start":{"line_number":14,"utf16_col":0},"end":{"line_number":14,"utf16_col":49}}},{"name":"node_root","kind":"constant","ident_start":380,"ident_end":389,"extent_start":380,"extent_end":416,"fully_qualified_name":"node_root","ident_utf16":{"start":{"line_number":15,"utf16_col":0},"end":{"line_number":15,"utf16_col":9}},"extent_utf16":{"start":{"line_number":15,"utf16_col":0},"end":{"line_number":15,"utf16_col":36}}},{"name":"is_repo","kind":"constant","ident_start":417,"ident_end":424,"extent_start":417,"extent_end":469,"fully_qualified_name":"is_repo","ident_utf16":{"start":{"line_number":16,"utf16_col":0},"end":{"line_number":16,"utf16_col":7}},"extent_utf16":{"start":{"line_number":16,"utf16_col":0},"end":{"line_number":16,"utf16_col":52}}},{"name":"npm_path","kind":"constant","ident_start":471,"ident_end":479,"extent_start":471,"extent_end":607,"fully_qualified_name":"npm_path","ident_utf16":{"start":{"line_number":18,"utf16_col":0},"end":{"line_number":18,"utf16_col":8}},"extent_utf16":{"start":{"line_number":18,"utf16_col":0},"end":{"line_number":21,"utf16_col":2}}},{"name":"plotly_js_version","kind":"function","ident_start":660,"ident_end":677,"extent_start":656,"extent_end":841,"fully_qualified_name":"plotly_js_version","ident_utf16":{"start":{"line_number":25,"utf16_col":4},"end":{"line_number":25,"utf16_col":21}},"extent_utf16":{"start":{"line_number":25,"utf16_col":0},"end":{"line_number":30,"utf16_col":18}}},{"name":"readme","kind":"function","ident_start":848,"ident_end":854,"extent_start":844,"extent_end":915,"fully_qualified_name":"readme","ident_utf16":{"start":{"line_number":33,"utf16_col":4},"end":{"line_number":33,"utf16_col":10}},"extent_utf16":{"start":{"line_number":33,"utf16_col":0},"end":{"line_number":35,"utf16_col":23}}},{"name":"js_prerelease","kind":"function","ident_start":922,"ident_end":935,"extent_start":918,"extent_end":1990,"fully_qualified_name":"js_prerelease","ident_utf16":{"start":{"line_number":38,"utf16_col":4},"end":{"line_number":38,"utf16_col":17}},"extent_utf16":{"start":{"line_number":38,"utf16_col":0},"end":{"line_number":62,"utf16_col":27}}},{"name":"DecoratedCommand","kind":"class","ident_start":1044,"ident_end":1060,"extent_start":1038,"extent_end":1962,"fully_qualified_name":"DecoratedCommand","ident_utf16":{"start":{"line_number":40,"utf16_col":10},"end":{"line_number":40,"utf16_col":26}},"extent_utf16":{"start":{"line_number":40,"utf16_col":4},"end":{"line_number":61,"utf16_col":50}}},{"name":"run","kind":"function","ident_start":1083,"ident_end":1086,"extent_start":1079,"extent_end":1962,"fully_qualified_name":"DecoratedCommand.run","ident_utf16":{"start":{"line_number":41,"utf16_col":12},"end":{"line_number":41,"utf16_col":15}},"extent_utf16":{"start":{"line_number":41,"utf16_col":8},"end":{"line_number":61,"utf16_col":50}}},{"name":"update_package_data","kind":"function","ident_start":1997,"ident_end":2016,"extent_start":1993,"extent_end":2288,"fully_qualified_name":"update_package_data","ident_utf16":{"start":{"line_number":65,"utf16_col":4},"end":{"line_number":65,"utf16_col":23}},"extent_utf16":{"start":{"line_number":65,"utf16_col":0},"end":{"line_number":70,"utf16_col":31}}},{"name":"NPM","kind":"class","ident_start":2297,"ident_end":2300,"extent_start":2291,"extent_end":4242,"fully_qualified_name":"NPM","ident_utf16":{"start":{"line_number":73,"utf16_col":6},"end":{"line_number":73,"utf16_col":9}},"extent_utf16":{"start":{"line_number":73,"utf16_col":0},"end":{"line_number":134,"utf16_col":46}}},{"name":"description","kind":"constant","ident_start":2315,"ident_end":2326,"extent_start":2315,"extent_end":2374,"fully_qualified_name":"NPM.description","ident_utf16":{"start":{"line_number":74,"utf16_col":4},"end":{"line_number":74,"utf16_col":15}},"extent_utf16":{"start":{"line_number":74,"utf16_col":4},"end":{"line_number":74,"utf16_col":63}}},{"name":"user_options","kind":"constant","ident_start":2380,"ident_end":2392,"extent_start":2380,"extent_end":2397,"fully_qualified_name":"NPM.user_options","ident_utf16":{"start":{"line_number":76,"utf16_col":4},"end":{"line_number":76,"utf16_col":16}},"extent_utf16":{"start":{"line_number":76,"utf16_col":4},"end":{"line_number":76,"utf16_col":21}}},{"name":"node_modules","kind":"constant","ident_start":2403,"ident_end":2415,"extent_start":2403,"extent_end":2457,"fully_qualified_name":"NPM.node_modules","ident_utf16":{"start":{"line_number":78,"utf16_col":4},"end":{"line_number":78,"utf16_col":16}},"extent_utf16":{"start":{"line_number":78,"utf16_col":4},"end":{"line_number":78,"utf16_col":58}}},{"name":"targets","kind":"constant","ident_start":2463,"ident_end":2470,"extent_start":2463,"extent_end":2615,"fully_qualified_name":"NPM.targets","ident_utf16":{"start":{"line_number":80,"utf16_col":4},"end":{"line_number":80,"utf16_col":11}},"extent_utf16":{"start":{"line_number":80,"utf16_col":4},"end":{"line_number":83,"utf16_col":5}}},{"name":"initialize_options","kind":"function","ident_start":2625,"ident_end":2643,"extent_start":2621,"extent_end":2663,"fully_qualified_name":"NPM.initialize_options","ident_utf16":{"start":{"line_number":85,"utf16_col":8},"end":{"line_number":85,"utf16_col":26}},"extent_utf16":{"start":{"line_number":85,"utf16_col":4},"end":{"line_number":86,"utf16_col":12}}},{"name":"finalize_options","kind":"function","ident_start":2673,"ident_end":2689,"extent_start":2669,"extent_end":2709,"fully_qualified_name":"NPM.finalize_options","ident_utf16":{"start":{"line_number":88,"utf16_col":8},"end":{"line_number":88,"utf16_col":24}},"extent_utf16":{"start":{"line_number":88,"utf16_col":4},"end":{"line_number":89,"utf16_col":12}}},{"name":"get_npm_name","kind":"function","ident_start":2719,"ident_end":2731,"extent_start":2715,"extent_end":2861,"fully_qualified_name":"NPM.get_npm_name","ident_utf16":{"start":{"line_number":91,"utf16_col":8},"end":{"line_number":91,"utf16_col":20}},"extent_utf16":{"start":{"line_number":91,"utf16_col":4},"end":{"line_number":96,"utf16_col":22}}},{"name":"has_npm","kind":"function","ident_start":2871,"ident_end":2878,"extent_start":2867,"extent_end":3049,"fully_qualified_name":"NPM.has_npm","ident_utf16":{"start":{"line_number":98,"utf16_col":8},"end":{"line_number":98,"utf16_col":15}},"extent_utf16":{"start":{"line_number":98,"utf16_col":4},"end":{"line_number":104,"utf16_col":24}}},{"name":"should_run_npm_install","kind":"function","ident_start":3059,"ident_end":3081,"extent_start":3055,"extent_end":3245,"fully_qualified_name":"NPM.should_run_npm_install","ident_utf16":{"start":{"line_number":106,"utf16_col":8},"end":{"line_number":106,"utf16_col":30}},"extent_utf16":{"start":{"line_number":106,"utf16_col":4},"end":{"line_number":109,"utf16_col":29}}},{"name":"run","kind":"function","ident_start":3255,"ident_end":3258,"extent_start":3251,"extent_end":4242,"fully_qualified_name":"NPM.run","ident_utf16":{"start":{"line_number":111,"utf16_col":8},"end":{"line_number":111,"utf16_col":11}},"extent_utf16":{"start":{"line_number":111,"utf16_col":4},"end":{"line_number":134,"utf16_col":46}}},{"name":"CodegenCommand","kind":"class","ident_start":4251,"ident_end":4265,"extent_start":4245,"extent_end":4723,"fully_qualified_name":"CodegenCommand","ident_utf16":{"start":{"line_number":137,"utf16_col":6},"end":{"line_number":137,"utf16_col":20}},"extent_utf16":{"start":{"line_number":137,"utf16_col":0},"end":{"line_number":153,"utf16_col":25}}},{"name":"description","kind":"constant","ident_start":4280,"ident_end":4291,"extent_start":4280,"extent_end":4344,"fully_qualified_name":"CodegenCommand.description","ident_utf16":{"start":{"line_number":138,"utf16_col":4},"end":{"line_number":138,"utf16_col":15}},"extent_utf16":{"start":{"line_number":138,"utf16_col":4},"end":{"line_number":138,"utf16_col":68}}},{"name":"user_options","kind":"constant","ident_start":4349,"ident_end":4361,"extent_start":4349,"extent_end":4366,"fully_qualified_name":"CodegenCommand.user_options","ident_utf16":{"start":{"line_number":139,"utf16_col":4},"end":{"line_number":139,"utf16_col":16}},"extent_utf16":{"start":{"line_number":139,"utf16_col":4},"end":{"line_number":139,"utf16_col":21}}},{"name":"initialize_options","kind":"function","ident_start":4376,"ident_end":4394,"extent_start":4372,"extent_end":4414,"fully_qualified_name":"CodegenCommand.initialize_options","ident_utf16":{"start":{"line_number":141,"utf16_col":8},"end":{"line_number":141,"utf16_col":26}},"extent_utf16":{"start":{"line_number":141,"utf16_col":4},"end":{"line_number":142,"utf16_col":12}}},{"name":"finalize_options","kind":"function","ident_start":4424,"ident_end":4440,"extent_start":4420,"extent_end":4460,"fully_qualified_name":"CodegenCommand.finalize_options","ident_utf16":{"start":{"line_number":144,"utf16_col":8},"end":{"line_number":144,"utf16_col":24}},"extent_utf16":{"start":{"line_number":144,"utf16_col":4},"end":{"line_number":145,"utf16_col":12}}},{"name":"run","kind":"function","ident_start":4470,"ident_end":4473,"extent_start":4466,"extent_end":4723,"fully_qualified_name":"CodegenCommand.run","ident_utf16":{"start":{"line_number":147,"utf16_col":8},"end":{"line_number":147,"utf16_col":11}},"extent_utf16":{"start":{"line_number":147,"utf16_col":4},"end":{"line_number":153,"utf16_col":25}}},{"name":"UpdateSchemaCommand","kind":"class","ident_start":4732,"ident_end":4751,"extent_start":4726,"extent_end":5426,"fully_qualified_name":"UpdateSchemaCommand","ident_utf16":{"start":{"line_number":156,"utf16_col":6},"end":{"line_number":156,"utf16_col":25}},"extent_utf16":{"start":{"line_number":156,"utf16_col":0},"end":{"line_number":176,"utf16_col":40}}},{"name":"description","kind":"constant","ident_start":4766,"ident_end":4777,"extent_start":4766,"extent_end":4834,"fully_qualified_name":"UpdateSchemaCommand.description","ident_utf16":{"start":{"line_number":157,"utf16_col":4},"end":{"line_number":157,"utf16_col":15}},"extent_utf16":{"start":{"line_number":157,"utf16_col":4},"end":{"line_number":157,"utf16_col":72}}},{"name":"user_options","kind":"constant","ident_start":4839,"ident_end":4851,"extent_start":4839,"extent_end":4856,"fully_qualified_name":"UpdateSchemaCommand.user_options","ident_utf16":{"start":{"line_number":158,"utf16_col":4},"end":{"line_number":158,"utf16_col":16}},"extent_utf16":{"start":{"line_number":158,"utf16_col":4},"end":{"line_number":158,"utf16_col":21}}},{"name":"initialize_options","kind":"function","ident_start":4866,"ident_end":4884,"extent_start":4862,"extent_end":4904,"fully_qualified_name":"UpdateSchemaCommand.initialize_options","ident_utf16":{"start":{"line_number":160,"utf16_col":8},"end":{"line_number":160,"utf16_col":26}},"extent_utf16":{"start":{"line_number":160,"utf16_col":4},"end":{"line_number":161,"utf16_col":12}}},{"name":"finalize_options","kind":"function","ident_start":4914,"ident_end":4930,"extent_start":4910,"extent_end":4950,"fully_qualified_name":"UpdateSchemaCommand.finalize_options","ident_utf16":{"start":{"line_number":163,"utf16_col":8},"end":{"line_number":163,"utf16_col":24}},"extent_utf16":{"start":{"line_number":163,"utf16_col":4},"end":{"line_number":164,"utf16_col":12}}},{"name":"run","kind":"function","ident_start":4960,"ident_end":4963,"extent_start":4956,"extent_end":5426,"fully_qualified_name":"UpdateSchemaCommand.run","ident_utf16":{"start":{"line_number":166,"utf16_col":8},"end":{"line_number":166,"utf16_col":11}},"extent_utf16":{"start":{"line_number":166,"utf16_col":4},"end":{"line_number":176,"utf16_col":40}}},{"name":"UpdateBundleCommand","kind":"class","ident_start":5435,"ident_end":5454,"extent_start":5429,"extent_end":6426,"fully_qualified_name":"UpdateBundleCommand","ident_utf16":{"start":{"line_number":179,"utf16_col":6},"end":{"line_number":179,"utf16_col":25}},"extent_utf16":{"start":{"line_number":179,"utf16_col":0},"end":{"line_number":207,"utf16_col":49}}},{"name":"description","kind":"constant","ident_start":5469,"ident_end":5480,"extent_start":5469,"extent_end":5537,"fully_qualified_name":"UpdateBundleCommand.description","ident_utf16":{"start":{"line_number":180,"utf16_col":4},"end":{"line_number":180,"utf16_col":15}},"extent_utf16":{"start":{"line_number":180,"utf16_col":4},"end":{"line_number":180,"utf16_col":72}}},{"name":"user_options","kind":"constant","ident_start":5542,"ident_end":5554,"extent_start":5542,"extent_end":5559,"fully_qualified_name":"UpdateBundleCommand.user_options","ident_utf16":{"start":{"line_number":181,"utf16_col":4},"end":{"line_number":181,"utf16_col":16}},"extent_utf16":{"start":{"line_number":181,"utf16_col":4},"end":{"line_number":181,"utf16_col":21}}},{"name":"initialize_options","kind":"function","ident_start":5569,"ident_end":5587,"extent_start":5565,"extent_end":5607,"fully_qualified_name":"UpdateBundleCommand.initialize_options","ident_utf16":{"start":{"line_number":183,"utf16_col":8},"end":{"line_number":183,"utf16_col":26}},"extent_utf16":{"start":{"line_number":183,"utf16_col":4},"end":{"line_number":184,"utf16_col":12}}},{"name":"finalize_options","kind":"function","ident_start":5617,"ident_end":5633,"extent_start":5613,"extent_end":5653,"fully_qualified_name":"UpdateBundleCommand.finalize_options","ident_utf16":{"start":{"line_number":186,"utf16_col":8},"end":{"line_number":186,"utf16_col":24}},"extent_utf16":{"start":{"line_number":186,"utf16_col":4},"end":{"line_number":187,"utf16_col":12}}},{"name":"run","kind":"function","ident_start":5663,"ident_end":5666,"extent_start":5659,"extent_end":6426,"fully_qualified_name":"UpdateBundleCommand.run","ident_utf16":{"start":{"line_number":189,"utf16_col":8},"end":{"line_number":189,"utf16_col":11}},"extent_utf16":{"start":{"line_number":189,"utf16_col":4},"end":{"line_number":207,"utf16_col":49}}},{"name":"UpdatePlotlyJsCommand","kind":"class","ident_start":6435,"ident_end":6456,"extent_start":6429,"extent_end":6785,"fully_qualified_name":"UpdatePlotlyJsCommand","ident_utf16":{"start":{"line_number":210,"utf16_col":6},"end":{"line_number":210,"utf16_col":27}},"extent_utf16":{"start":{"line_number":210,"utf16_col":0},"end":{"line_number":223,"utf16_col":35}}},{"name":"description","kind":"constant","ident_start":6471,"ident_end":6482,"extent_start":6471,"extent_end":6531,"fully_qualified_name":"UpdatePlotlyJsCommand.description","ident_utf16":{"start":{"line_number":211,"utf16_col":4},"end":{"line_number":211,"utf16_col":15}},"extent_utf16":{"start":{"line_number":211,"utf16_col":4},"end":{"line_number":211,"utf16_col":64}}},{"name":"user_options","kind":"constant","ident_start":6536,"ident_end":6548,"extent_start":6536,"extent_end":6553,"fully_qualified_name":"UpdatePlotlyJsCommand.user_options","ident_utf16":{"start":{"line_number":212,"utf16_col":4},"end":{"line_number":212,"utf16_col":16}},"extent_utf16":{"start":{"line_number":212,"utf16_col":4},"end":{"line_number":212,"utf16_col":21}}},{"name":"initialize_options","kind":"function","ident_start":6563,"ident_end":6581,"extent_start":6559,"extent_end":6601,"fully_qualified_name":"UpdatePlotlyJsCommand.initialize_options","ident_utf16":{"start":{"line_number":214,"utf16_col":8},"end":{"line_number":214,"utf16_col":26}},"extent_utf16":{"start":{"line_number":214,"utf16_col":4},"end":{"line_number":215,"utf16_col":12}}},{"name":"finalize_options","kind":"function","ident_start":6611,"ident_end":6627,"extent_start":6607,"extent_end":6647,"fully_qualified_name":"UpdatePlotlyJsCommand.finalize_options","ident_utf16":{"start":{"line_number":217,"utf16_col":8},"end":{"line_number":217,"utf16_col":24}},"extent_utf16":{"start":{"line_number":217,"utf16_col":4},"end":{"line_number":218,"utf16_col":12}}},{"name":"run","kind":"function","ident_start":6657,"ident_end":6660,"extent_start":6653,"extent_end":6785,"fully_qualified_name":"UpdatePlotlyJsCommand.run","ident_utf16":{"start":{"line_number":220,"utf16_col":8},"end":{"line_number":220,"utf16_col":11}},"extent_utf16":{"start":{"line_number":220,"utf16_col":4},"end":{"line_number":223,"utf16_col":35}}},{"name":"graph_objs_packages","kind":"constant","ident_start":6788,"ident_end":6807,"extent_start":6788,"extent_end":6899,"fully_qualified_name":"graph_objs_packages","ident_utf16":{"start":{"line_number":226,"utf16_col":0},"end":{"line_number":226,"utf16_col":19}},"extent_utf16":{"start":{"line_number":226,"utf16_col":0},"end":{"line_number":228,"utf16_col":40}}},{"name":"validator_packages","kind":"constant","ident_start":6902,"ident_end":6920,"extent_start":6902,"extent_end":7012,"fully_qualified_name":"validator_packages","ident_utf16":{"start":{"line_number":231,"utf16_col":0},"end":{"line_number":231,"utf16_col":18}},"extent_utf16":{"start":{"line_number":231,"utf16_col":0},"end":{"line_number":233,"utf16_col":40}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/yutianc/plotly.py/branches":{"post":"MNXJfW9eODVFZv1gu-uV5BBdO11-xrppO-b-uXnGUmJbnkA7xeR3unqMZmeO1HMQLGedTdDf3zYSlvVuGDcUtA"},"/repos/preferences":{"post":"zMOtJD-hJvB1iiFeo47Wn-q0RKCZQ4DEf2h-v23OB4C8uh_Jfdhh6sbrCTUYHsgZO7_2ybwz7NKboQx2oiEPog"}}},"title":"plotly.py/setup.py at master · yutianc/plotly.py","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}}}
0