Last active
          June 19, 2018 20:00 
        
      - 
      
- 
        Save mickours/5b600fc07ce7da48955a7bd24caccd02 to your computer and use it in GitHub Desktop. 
    Nix environment for releasing pypi package
  
        
  
    
      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
    
  
  
    
  | # Use this environment to publish this package on pypi: | |
| # | |
| # # Enter the environment | |
| # nix-shell release.nix | |
| # | |
| # # create the package | |
| # python setup.py bdist | |
| # | |
| # # register to pypi (if not registered yet) | |
| # twine register dist/project_name-x.y.z.tar.gz | |
| # | |
| # # upload you package | |
| # twine upload dist/project_name-x.y.z.tar.gz | |
| with import <nixpkgs> {}; | |
| (pkgs.python36.withPackages (ps: with ps; [twine setuptools])).env | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment