-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (50 loc) · 1.66 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
47
48
49
50
51
52
53
54
55
56
57
58
59
import runpy
import logging
from setuptools import setup, find_packages
# Retrieve __version__ from the package.
PACKAGE_NAME = "video2geoimg"
VERSION = runpy.run_path("video2geoimg/version.py")["__version__"]
DESCRIPTION = "video2geoimg: Convert your geotagged videos to georeferenced still frames using python"
URL = "https://github.com/LaurensJN/video2geoimg"
AUTHOR = "L.J.N. Oostwegel"
LICENSE = "GNU General Public License v3.0 or later"
DOWNLOAD_URL = ""
LONG_DESCRIPTION = """
A longer description of what the library does. This will appear on pypi, and also influence
search keywords etc. (Maybe 1-2 paragraphs long)
"""
CLASSIFIERS = [
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Operating System :: Windows",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries",
]
logger = logging.getLogger()
logging.basicConfig(format="%(levelname)s - %(message)s")
def get_requirements():
packages = None
with open("requirements.txt") as f:
packages = f.read().splitlines()
return packages
setup(
# Metadata
name=PACKAGE_NAME,
version=VERSION,
author=AUTHOR,
description=DESCRIPTION,
url=URL,
long_description=LONG_DESCRIPTION,
license=LICENSE,
python_requires=">3.6",
# Package info
packages=find_packages(),
package_data={'video2geoimg': ['gpx.fmt']},
include_package_data=True,
install_requires=get_requirements(),
zip_safe=True,
include_dirs=["video2geoimg"],
classifiers=CLASSIFIERS,
entry_points={"console_scripts": ['video2geoimg = video2geoimg.__main__:main']},
)