Revision b0f7f06f6e656cefdf855ad39b2d62cab5bd0b85 authored by Antoine R. Dumont (@ardumont) on 24 February 2017, 07:28:37 UTC, committed by Antoine R. Dumont (@ardumont) on 24 February 2017, 07:29:38 UTC
1 parent c40ab03
setup.py
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.model',
description='Software Heritage data model',
author='Software Heritage developers',
author_email='swh-devel@inria.fr',
url='https://forge.softwareheritage.org/diffusion/DMOD/',
packages=[
'swh.model', 'swh.model.fields',
'swh.model.tests', 'swh.model.tests.fields',
], # packages's modules
scripts=[], # scripts to package
install_requires=parse_requirements(),
setup_requires=['vcversioner'],
vcversioner={},
include_package_data=True,
)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...