Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8393193
setup.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
873 B
Subscribers
None
setup.py
View Options
from
setuptools
import
setup
def
parse_requirements
():
requirements
=
[]
with
open
(
'requirements.txt'
)
as
f
:
for
line
in
f
.
readlines
():
line
=
line
.
strip
()
if
not
line
or
line
.
startswith
(
'#'
):
continue
requirements
.
append
(
line
)
return
requirements
# Edit this part to match your module
# full sample: https://forge.softwareheritage.org/diffusion/DCORE/browse/master/setup.py
setup
(
name
=
'swh.mirror.forge'
,
description
=
'Mirror swh''s forge to github'
,
author
=
'Software Heritage developers'
,
author_email
=
'swh-devel@inria.fr'
,
url
=
'https://forge.softwareheritage.org/source/swh-mirror-forge/'
,
packages
=
[
'swh.mirror.forge'
],
scripts
=
[],
install_requires
=
parse_requirements
(),
setup_requires
=
[
'vcversioner'
],
vcversioner
=
{},
include_package_data
=
True
,
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Jun 4 2025, 7:10 PM (9 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3241093
Attached To
rDMIRFOR SWH Mirror Forge
Event Timeline
Log In to Comment