setuptools_wrapper.setup
index
/home/vkottler/src/vkottler/workspace/setuptools-wrapper/setuptools_wrapper/setup.py

A simpler setuptools-based package definition.

 
Modules
       
os
setuptools
shutil
tempfile

 
Classes
       
builtins.object
PythonVersionCompare

 
class PythonVersionCompare(builtins.object)
    PythonVersionCompare(major: int = None, minor: int = None, micro: int = None) -> None
 
Python version string comparison object.
 
  Methods defined here:
__eq__(self, other) -> bool
Compare to an object.
__ge__(self, other) -> bool
Compare to an object.
__gt__(self, other) -> bool
Compare to an object.
__init__(self, major: int = None, minor: int = None, micro: int = None) -> None
Initialize this instance.
__le__(self, other) -> bool
Compare to an object.
__lt__(self, other) -> bool
Compare to an object.
__ne__(self, other) -> bool
Compare to an object.
cmp(self, other) -> int
Compare to an object.

Static methods defined here:
from_str(data: str) -> 'PythonVersionCompare'
Create a version comparison instance from a string.

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

Data and other attributes defined here:
__hash__ = None

 
Functions
       
default_requirements_file(directory: str) -> str
Default location to look for the requirements file.
get_data_files(pkg_name: str, data_dir: str = 'data') -> List[str]
Get the non-code sources under a package directory's data directory.
get_long_description(desc_filename: str = 'README.md') -> str
Get a package's long-description data from a file.
get_requirements(reqs_filename: str) -> Set[str]
Get a package's requirements based on its requirements file.
inject_self(working_dir: str, curr_pkg_slug: str, pkg: str = 'setuptools-wrapper', force_copy: bool = False) -> Iterator[NoneType]
Copy this entire package into the caller's source distribution. This is
the only way to avoid a pointless requirement to already have this package
installed to install anything else, and also generally not requiring
an explicit install of this package except for command-line use.
process_requirements(requirements: Set[str]) -> Set[str]
Process conditional statements in requirement declarations.
setup(pkg_info: Dict[str, Any], author_info: Dict[str, str], url_override: str = None, classifiers_override: List[str] = None, requirements: Set[str] = None, **kwargs) -> None
Build a 'setuptools.setup' call with sane defaults and making assumptions
about certain aspects of a package's structure.

 
Data
        Dict = typing.Dict
Iterator = typing.Iterator
List = typing.List
SELF = 'setuptools-wrapper'
Set = typing.Set
Union = typing.Union
platform = 'linux'
version_info = sys.version_info(major=3, minor=12, micro=2, releaselevel='final', serial=0)