2018-11-14 10:52:01 +03:00
|
|
|
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',
|
2020-06-18 08:10:55 +03:00
|
|
|
version='1.0.2',
|
2018-11-14 10:52:01 +03:00
|
|
|
packages=['django_clickhouse'],
|
|
|
|
package_dir={'': 'src'},
|
|
|
|
url='https://github.com/carrotquest/django-clickhouse',
|
|
|
|
license='BSD 3-clause "New" or "Revised" License',
|
2020-02-07 14:59:50 +03:00
|
|
|
author='Carrot quest',
|
|
|
|
author_email='m1ha@carrotquest.io',
|
2018-11-14 10:52:01 +03:00
|
|
|
description='Django extension to integrate with ClickHouse database',
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
2019-07-24 07:57:01 +03:00
|
|
|
install_requires=requires
|
2018-11-14 10:52:01 +03:00
|
|
|
)
|