-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
38 lines (33 loc) · 1.14 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
import setuptools
# with open("README.md", "r", encoding='utf-8') as fh:
# long_description = fh.read()
long_description = "PdRSCD(PaddlePaddle Remote Sensing Change Detection)\
是一个基于飞桨PaddlePaddle的一个用于遥感变化检测的工具。\
详细说明和使用方法请参照github。"
with open("requirements.txt", "r") as fr:
requires = fr.readlines()
i = 0
while i < len(requires):
requires[i] = requires[i].strip()
if requires[i][0] == '#':
del requires[i]
else:
i += 1
print(requires)
setuptools.setup(
name="ppcd",
version="0.2.1",
author="geoyee",
author_email="[email protected]",
description="SDK about pdrscd",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/geoyee/PdRSCD",
packages=setuptools.find_packages(),
install_requires=requires,
classifiers=[
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)