-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathsetup.py
executable file
·29 lines (25 loc) · 903 Bytes
/
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
from setuptools import setup, find_packages
import re
with open('README.md', encoding='utf-8') as f:
readme = f.read()
with open("torchsat/__init__.py", encoding="utf-8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
requirements = [x.strip() for x in open("requirements.txt").readlines()]
setup(
name="torchsat",
version=version,
author="sshuair",
author_email="[email protected]",
url="https://github.com/sshuair/torchsat",
description="TorchSat is an open-source PyTorch framework for satellite imagery analysis.",
long_description=readme,
long_description_content_type="text/markdown",
packages=find_packages(),
license="MIT",
install_requires=requirements,
keywords='pytorch deep learning satellite remote sensing',
entry_points='''
[console_scripts]
ts=torchsat.cli.cli:entry_point
'''
)