Skip to content

Commit

Permalink
Include requirements in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Anze committed Nov 4, 2019
1 parent 31c2a18 commit 6ea4534
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import os
from setuptools import setup, find_packages

requirements_txt = os.path.dirname(os.path.realpath(__file__)) + '/requirements.txt'
with open(requirements_txt, "rt") as f:
install_requires = f.read().splitlines()[1:]

setup(name='grafoleancollector',
version='@@VERSION@@',
url='https://gitlab.com/grafolean/grafolean-collector',
Expand All @@ -9,4 +14,5 @@
description='Common utilities for creating (controlled) collectors for Grafolean',
packages=find_packages(exclude=['tests']),
long_description=open('README.md').read(),
install_requires=install_requires,
zip_safe=False)

0 comments on commit 6ea4534

Please sign in to comment.