FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cfv/setup.py at python3 · cfv-project/cfv · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
cfv-project
/
cfv
Public
Notifications
You must be signed in to change notification settings
Fork
14
Star
75
Code
Issues
12
Pull requests
6
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cfv
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (26 loc) · 970 Bytes
Breadcrumbs
cfv
/
setup.py
Copy path
File metadata and controls
36 lines (26 loc) · 970 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import
re
from
setuptools
import
setup
RE_VERSION
=
r"^__version__\s*=\s*'([^']*)'$"
def
_read
(
path
):
with
open
(
path
,
'rt'
,
encoding
=
'utf8'
)
as
f
:
return
f
.
read
()
def
_get_version
(
path
):
re_version
=
re
.
compile
(
RE_VERSION
)
with
open
(
path
,
'rt'
)
as
f
:
for
line
in
f
:
m
=
re_version
.
match
(
line
)
if
m
is
not
None
:
return
m
.
group
(
1
)
return
None
version
=
_get_version
(
'lib/cfv/common.py'
)
setup
(
version
=
version
,
author
=
'Lisa Gnedt (Current Maintainer)'
,
author_email
=
'%s@%s'
%
(
'cfv-project'
,
'davizone.at'
),
# license and license_expression is defined here and not in pyproject.toml
# due to backward compatibility issues with older setuptools versions.
# See: https://github.com/pypa/setuptools/issues/4903
license
=
'GPL-2.0-or-later AND MIT'
,
license_expression
=
'GPL-2.0-or-later AND MIT'
,
license_files
=
(
'COPYING'
,
'lib/cfv/BitTorrent/LICENSE.txt'
),
)
Back
|
FazBrowse Home
|
New Git URL