Skip to content

Implement installing python programs from git. #1

@Poikilos

Description

@Poikilos

Make it work whether the project uses setuptools or not:

  • Make a run script in the path like this one generated by setuptools:
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from nopackage import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())
  • Warn if setup.py doesn't say it is compatible with the os (Has a list of classifiers but doesn't mention Operating System :: POSIX, Operating System :: POSIX :: Other, Operating System :: Other OS, Operating System :: OS Independent, nor the current platform--see https://pypi.org/classifiers/)

Examples:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions