This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (48 loc) · 1.76 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
import typing
from setuptools import find_packages, setup
def requirements(filepath: str) -> typing.List[str]:
"""Read requirements from a filepath."""
res = []
with open(filepath, "r") as requirements_file:
for line in requirements_file.readlines():
res.append(line.strip())
return res
with open("README.md", "r") as fh:
long_description = fh.read()
development = ["pytest==6.2.4", "black==19.10b0", "pre-commit==2.0.1", "ipdb==0.13.7"]
setup(
name="orglearn",
version="1.1.5", # TODO: Better way to handle versions
author="Matej Kastak",
author_email="[email protected]",
description="Tool to learn from your org-mode notes",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License ",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Education",
],
extras_require={
"all": development,
"dev": development,
},
include_package_data=True,
install_requires=requirements("requirements.txt"),
url="https://github.com/MatejKastak/orglearn",
packages=find_packages(),
entry_points={"console_scripts": ["orglearn = orglearn.cli:main"]},
)