This repository was archived by the owner on Nov 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (37 loc) · 1.35 KB
/
setup.py
File metadata and controls
42 lines (37 loc) · 1.35 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
import setuptools
with open("README.md", "r", encoding="utf-8") as f:
readme = f.read()
def get_requirements(fname):
"Takes requirements from requirements.txt and returns a list."
with open(fname) as fp:
reqs = list()
for lib in fp.read().split("\n"):
# Ignore pypi flags and comments
if not lib.startswith("-") or lib.startswith("#"):
reqs.append(lib.strip())
return reqs
install_requires = get_requirements("requirements.txt")
setuptools.setup(
name="narkdown",
version="1.3.5",
author="younho9",
author_email="younho9.choo@gmail.com",
description="A tool to use Notion as a Markdown editor.",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/younho9/narkdown",
install_requires=install_requires,
include_package_data=True,
packages=setuptools.find_packages(),
keywords=["notion", "github", "markdown"],
python_requires=">=3.5",
classifiers=[
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)