django-clickhouse/setup.py
M1ha Shvn 0e65f15333
get_final_versions fixes (#38)
1. Fixed problem when get_final_version() could return 2 rows instead of 1 and insert multiple sign < 0 rows with single sign > 0
2. Fixed problem from PR https://github.com/carrotquest/django-clickhouse/pull/37, when date_col is not set for ClickHouseModel
2021-10-06 10:01:45 +05:00

28 lines
894 B
Python

from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
requires = []
with open('requirements.txt') as f:
for line in f.readlines():
line = line.strip() # Remove spaces
line = line.split('#')[0] # Remove comments
if line: # Remove empty lines
requires.append(line)
setup(
name='django-clickhouse',
version='1.1.2',
packages=['django_clickhouse', 'django_clickhouse.management.commands'],
package_dir={'': 'src'},
url='https://github.com/carrotquest/django-clickhouse',
license='BSD 3-clause "New" or "Revised" License',
author='Carrot quest',
author_email='m1ha@carrotquest.io',
description='Django extension to integrate with ClickHouse database',
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=requires
)