Revision a1aa23032e9c3e86819ad915f2bb959624c1e7ff authored by Nicolas Dandrimont on 12 May 2018, 16:12:40 UTC, committed by Nicolas Dandrimont on 12 May 2018, 16:12:40 UTC
setup.py
#!/usr/bin/env python3
from setuptools import setup, find_packages
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=find_packages(),
scripts=[
'bin/swh-storage-add-dir',
],
install_requires=parse_requirements(),
extras_require={
'schemata': ['SQLAlchemy'],
'listener': ['kafka_python'],
},
setup_requires=['vcversioner'],
vcversioner={},
include_package_data=True,
)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...