feat: auto-deploy to pypi (#8)

This commit is contained in:
Miguel Sozinho Ramalho
2022-07-01 15:23:50 +01:00
committed by GitHub
parent f55782d0da
commit f1053953ba
17 changed files with 2422 additions and 1075 deletions

View File

@@ -1,12 +1,30 @@
from setuptools import setup
# version.py defines the VERSION and VERSION_SHORT variables.
# We use exec here so we don't import cached_path whilst setting up.
VERSION = {} # type: ignore
with open("geoclustering/version.py", "r") as version_file:
exec(version_file.read(), VERSION)
setup(
name="geocluster",
version="0.1",
description="",
name="geoclustering",
version=VERSION["VERSION"],
description="📍 command-line tool for clustering geolocations.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
author="Bellingcat",
packages=["geocluster"],
entry_points={"console_scripts": ["geocluster = geocluster.__main__:main"]},
author_email="tech@bellingcat.com",
license="MIT",
packages=["geoclustering"],
package_data={"geoclustering": ["kepler_config.json"]},
keywords=["cluster", "gis", "pattern-analysis"],
entry_points={"console_scripts": ["geoclustering = geoclustering.__main__:main"]},
install_requires=[
"click",
"geojson",