-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (29 loc) · 990 Bytes
/
setup.py
File metadata and controls
37 lines (29 loc) · 990 Bytes
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
from setuptools import find_packages, setup
def load_long_description(path):
with open(path, "r") as f:
return f.read()
def ignore_line(line):
line = line.strip()
return not line or line[0] == "#"
def load_requires(path):
with open(path, "r") as requires:
return [line.strip() for line in requires if not ignore_line(line)]
setup(
name="AutoPyType",
version="0.0.1",
description="tool for automatically generating python type hints, logs and documentation",
long_description=load_long_description("README.md"),
url="https://github.com/ItayTheDar/AutoPyType.git",
author="Itay Dar",
author_email="itayd@post.bgu.ac.il",
license="GNU AGPLv3",
python_requires=">=3.9.1",
packages=find_packages(),
install_requires=load_requires("requirements.txt"),
entry_points={
"console_scripts": [
"autopy_type = autopy_type.cli.main:autopy_cli",
],
},
include_package_data=True,
)