-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
46 lines (42 loc) · 1.56 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
import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8") as f:
long_description = f.read()
with open("requirements.txt", encoding="utf-8") as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith("#")]
setup(
name="codemd",
version="0.0.3",
author="Peilin Yu",
author_email="[email protected]",
description="Transform code repositories into markdown-formatted strings ready for LLM prompting",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/dotpyu/codemd",
packages=find_packages(where="src"),
package_dir={"": "src"},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=requirements,
entry_points={
"console_scripts": [
"codemd=codemd.cli:main",
],
},
include_package_data=True,
zip_safe=False,
project_urls={
"Bug Reports": "https://github.com/dotpyu/codemd/issues",
"Source": "https://github.com/dotpyu/codemd",
},
)