Public Member Functions | Public Attributes | Static Public Attributes | List of all members
catkin_virtualenv.requirements.VcsRequirement Class Reference
Inheritance diagram for catkin_virtualenv.requirements.VcsRequirement:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, string)
 
def __str__ (self)
 

Public Attributes

 name
 
 string
 

Static Public Attributes

 name_regex
 
list VCS_SCHEMES
 

Detailed Description

A non-semver requirement from a version control system.
eg. svn+http://myrepo/svn/MyApp#egg=MyApp

Definition at line 24 of file requirements.py.

Constructor & Destructor Documentation

def catkin_virtualenv.requirements.VcsRequirement.__init__ (   self,
  string 
)

Definition at line 61 of file requirements.py.

Member Function Documentation

def catkin_virtualenv.requirements.VcsRequirement.__str__ (   self)

Definition at line 72 of file requirements.py.

Member Data Documentation

catkin_virtualenv.requirements.VcsRequirement.name

Definition at line 68 of file requirements.py.

catkin_virtualenv.requirements.VcsRequirement.name_regex
static
Initial value:
1 = re.compile(
2  r'^(?P<scheme>{0})://'.format(r'|'.join(
3  [scheme.replace('+', r'\+') for scheme in VCS_SCHEMES])) +
4  r'((?P<login>[^/@]+)@)?'
5  r'(?P<path>[^#@]+)'
6  r'(@(?P<revision>[^#]+))?'
7  r'(#egg=(?P<name>[^&]+))?$'
8  )

Definition at line 52 of file requirements.py.

catkin_virtualenv.requirements.VcsRequirement.string

Definition at line 62 of file requirements.py.

list catkin_virtualenv.requirements.VcsRequirement.VCS_SCHEMES
static
Initial value:
1 = [
2  'git',
3  'git+https',
4  'git+ssh',
5  'git+git',
6  'hg+http',
7  'hg+https',
8  'hg+static-http',
9  'hg+ssh',
10  'svn',
11  'svn+svn',
12  'svn+http',
13  'svn+https',
14  'svn+ssh',
15  'bzr+http',
16  'bzr+https',
17  'bzr+ssh',
18  'bzr+sftp',
19  'bzr+ftp',
20  'bzr+lp',
21  ]

Definition at line 30 of file requirements.py.


The documentation for this class was generated from the following file:


catkin_virtualenv
Author(s): Paul Bovbel
autogenerated on Mon Jul 1 2019 19:33:08