mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-22 00:56:37 +03:00
bac333d03a
2) Some fixes
28 lines
856 B
Python
28 lines
856 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='0.0.1',
|
|
packages=['django_clickhouse'],
|
|
package_dir={'': 'src'},
|
|
url='https://github.com/carrotquest/django-clickhouse',
|
|
license='BSD 3-clause "New" or "Revised" License',
|
|
author='Mikhail Shvein',
|
|
author_email='work_shvein_mihail@mail.ru',
|
|
description='Django extension to integrate with ClickHouse database',
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
# requires=requires
|
|
)
|