-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
34 lines (28 loc) · 957 Bytes
/
setup.py
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from os.path import join
import re
from setuptools import find_packages, setup
with open("README.md") as readme_file:
readme = readme_file.read()
with open("requirements.txt") as requirements_file:
requirements = requirements_file.read().splitlines()
about = open(join("src", "jaklas", "__about__.py")).read()
version = re.search(r"__version__ ?= ?['\"](.+)['\"]", about).group(1)
setup(
name="jaklas",
version=version,
description="Point cloud writer to las file.",
long_description=readme,
long_description_content_type="text/markdown",
author="Arnaud Venet",
author_email="arnaud.venet@jakarto.com",
url="https://github.com/jakarto3d/jaklas",
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.6",
include_package_data=True,
install_requires=requirements,
license="Jakarto Licence",
zip_safe=False,
)