This repository was archived by the owner on Nov 2, 2022. It is now read-only.
  
  
  - 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8
apply setup-py-upgrade #23
          
     Open
      
      
            graingert
  wants to merge
  5
  commits into
  python-trio:master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
graingert:setup-py-upgrade
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Open
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            5 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      f58f54e
              
                apply setup-py-upgrade
              
              
                graingert 4ae9bc5
              
                require setuptools >= 46.4.0 for version = attr: ast parsing
              
              
                graingert 07d6e1d
              
                add long_description_content_type = text/x-rst to avoid twine warnings
              
              
                graingert 7a02006
              
                apply black
              
              
                graingert 57c8629
              
                pin black and check more .py files
              
              
                graingert File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| # This file is imported from __init__.py and exec'd from setup.py | ||
| # This file is imported from __init__.py and AST-parsed from setuptools | ||
|  | ||
| __version__ = "0.0.0" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| [metadata] | ||
| name = exceptiongroup | ||
| version = attr: exceptiongroup._version.__version__ | ||
| description = A way to represent multiple things going wrong at the same time, in Python | ||
| url = https://github.com/python-trio/exceptiongroup | ||
| long_description = file: README.rst | ||
| long_description_content_type = text/x-rst | ||
| author = Nathaniel J. Smith | ||
| author_email = njs@pobox.com | ||
| license = MIT -or- Apache License 2.0 | ||
| keywords = | ||
| async | ||
| exceptions | ||
| error handling | ||
| classifiers = | ||
| License :: OSI Approved :: MIT License | ||
| License :: OSI Approved :: Apache Software License | ||
| Framework :: Trio | ||
| Framework :: AsyncIO | ||
| Operating System :: POSIX :: Linux | ||
| Operating System :: MacOS :: MacOS X | ||
| Operating System :: Microsoft :: Windows | ||
| Programming Language :: Python :: 3 :: Only | ||
| Programming Language :: Python :: Implementation :: CPython | ||
| Programming Language :: Python :: Implementation :: PyPy | ||
| Intended Audience :: Developers | ||
|  | ||
| [options] | ||
| packages = find: | ||
| install_requires = trio | ||
| python_requires = >=3.5 | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,33 +1,3 @@ | ||
| from setuptools import setup, find_packages | ||
| from setuptools import setup | ||
|  | ||
| exec(open("exceptiongroup/_version.py", encoding="utf-8").read()) | ||
|  | ||
| LONG_DESC = open("README.rst", encoding="utf-8").read() | ||
|  | ||
| setup( | ||
| name="exceptiongroup", | ||
| version=__version__, | ||
| description="A way to represent multiple things going wrong at the same time, in Python", | ||
| url="https://github.com/python-trio/exceptiongroup", | ||
| long_description=LONG_DESC, | ||
| author="Nathaniel J. Smith", | ||
| author_email="njs@pobox.com", | ||
| license="MIT -or- Apache License 2.0", | ||
| packages=find_packages(), | ||
| install_requires=["trio"], | ||
| keywords=["async", "exceptions", "error handling"], | ||
| python_requires=">=3.5", | ||
| classifiers=[ | ||
| "License :: OSI Approved :: MIT License", | ||
| "License :: OSI Approved :: Apache Software License", | ||
| "Framework :: Trio", | ||
| "Framework :: AsyncIO", | ||
| "Operating System :: POSIX :: Linux", | ||
| "Operating System :: MacOS :: MacOS X", | ||
| "Operating System :: Microsoft :: Windows", | ||
| "Programming Language :: Python :: 3 :: Only", | ||
| "Programming Language :: Python :: Implementation :: CPython", | ||
| "Programming Language :: Python :: Implementation :: PyPy", | ||
| "Intended Audience :: Developers", | ||
| ], | ||
| ) | ||
| setup() | 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't seem to be imported