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
2021-02-04 21:51:06 +01:00

39 lines
916 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.8.0'
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 (Baserow)',
author_email='bram@baserow.io',
license='MIT',
description='Baserow: open source online database backend.',
long_description='',
platforms=['linux'],
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
install_requires=install_requires
)