generated from cgs-earth/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (28 loc) · 839 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
35
36
# =================================================================
#
# Authors: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
#
# Copyright (c) 2025 Lincoln Institute of Land Policy
#
# Licensed under the MIT License.
#
# =================================================================
from setuptools import setup, find_packages
from pathlib import Path
def read(filename):
"""read file contents"""
fullpath = Path(__file__).resolve().parent / filename
with fullpath.open() as fh:
contents = fh.read().strip()
return contents
setup(
name="pre-commit-hooks",
version="0.1.0",
packages=find_packages("."),
entry_points={
"console_scripts": [
"add_header=src.add_header:main",
],
},
install_requires=read('requirements.txt').splitlines(),
)