Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7451364
setup.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1003 B
Subscribers
None
setup.py
View Options
#!/usr/bin/env python3
from
setuptools
import
setup
def
parse_requirements
():
requirements
=
[]
for
reqf
in
(
'requirements.txt'
,
'requirements-swh.txt'
):
with
open
(
reqf
)
as
f
:
for
line
in
f
.
readlines
():
line
=
line
.
strip
()
if
not
line
or
line
.
startswith
(
'#'
):
continue
requirements
.
append
(
line
)
return
requirements
setup
(
name
=
'swh.storage'
,
description
=
'Software Heritage storage manager'
,
author
=
'Software Heritage developers'
,
author_email
=
'swh-devel@inria.fr'
,
url
=
'https://forge.softwareheritage.org/diffusion/DSTO/'
,
packages
=
[
'swh.storage'
,
'swh.storage.archiver'
,
'swh.storage.api'
,
'swh.storage.provenance'
,
'swh.storage.tests'
,
],
scripts
=
[
'bin/swh-storage-add-dir'
,
],
install_requires
=
parse_requirements
(),
setup_requires
=
[
'vcversioner'
],
vcversioner
=
{},
include_package_data
=
True
,
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Thu, Apr 17, 10:42 AM (5 d, 8 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3264468
Attached To
rDSTOC swh-storage-cassandra
Event Timeline
Log In to Comment