1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-02-06 05:40:09 +00:00
bramw_baserow/backend/setup.py
2020-05-20 15:50:14 +02:00

38 lines
892 B
Python

#!/usr/bin/env python
import os
from setuptools import find_packages, setup
PROJECT_DIR = os.path.dirname(__file__)
REQUIREMENTS_DIR = os.path.join(PROJECT_DIR, 'requirements')
VERSION = '0.0.2'
def get_requirements(env):
with open(os.path.join(REQUIREMENTS_DIR, f'{env}.txt')) as fp:
return [
x.strip()
for x in fp.read().split("\n")
if not x.startswith("#")
]
install_requires = get_requirements('base')
setup(
name='baserow',
version=VERSION,
url='https://baserow.io',
scripts=['baserow'],
author='Bram Wiepjes (Cloud 3)',
author_email='bram@baserow.io',
description='Open source data collaboration platform.',
long_description='',
platforms=['linux'],
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
install_requires=install_requires
)