-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (26 loc) · 860 Bytes
/
setup.py
File metadata and controls
32 lines (26 loc) · 860 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
import os
from setuptools import find_packages, setup
with open("README.md", "r") as fh:
long_description = fh.read()
def read_requirements_file(filename):
req_file_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), filename)
with open(req_file_path) as f:
return [line.strip() for line in f]
setup(
name="m3pc",
version="1.0.0",
author="Kehan Wen",
author_email="[email protected]",
description="m3pc",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/wkh923/m3pc",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
python_requires=">=3.8",
license="MIT",
install_requires=read_requirements_file("requirements.txt"),
)