-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (41 loc) · 1.5 KB
/
Copy pathsetup.py
File metadata and controls
45 lines (41 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup, find_packages
def parse_requirements(filename):
requirements = []
with open(filename, 'r') as f:
for line in f:
line = line.strip()
if line.startswith('git+'):
continue
requirements.append(line)
return requirements
setup(
name="datapi",
use_scm_version={
"write_to": "datapi/_version.py",
"write_to_template": '__version__ = "{version}"',
},
setup_requires=["setuptools_scm"],
author="dataPi",
author_email="info@getdapi.com",
description="dataPi implements a datalakehouse head to get your informational data closer to your applications",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/velascoluis/datapi-core",
packages=find_packages(include=['datapi', 'datapi.*', 'datapi.third_party.malloy_py', 'datapi.third_party.malloy_py.*']),
package_data={
"datapi.core": ["templates/*.jinja2"],
"datapi.third_party.malloy_py": ["**/*"],
},
include_package_data=True,
install_requires=parse_requirements("requirements.txt") + parse_requirements("datapi/third_party/malloy_py/requirements.txt"),
entry_points="""
[console_scripts]
datapi=datapi.cli:cli
""",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)