From 6d205c0ad5fad557bc5c45e30e5ba016d3be3ea5 Mon Sep 17 00:00:00 2001
From: "niehues.mark@gmail.com" <niehues.mark@gmail.com>
Date: Fri, 24 Apr 2020 11:41:51 +0200
Subject: [PATCH]  setup py

---
 .gitignore |  3 +++
 Pipfile    |  1 -
 setup.py   | 34 ++++++++++++++++++++++++++++++++++
 3 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 setup.py

diff --git a/.gitignore b/.gitignore
index bcaae93..0f99fc4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
 .idea
 plots
 __pycache__
+build
+dist
+*.egg-info
diff --git a/Pipfile b/Pipfile
index 1cf969a..17c4b91 100644
--- a/Pipfile
+++ b/Pipfile
@@ -11,7 +11,6 @@ pandas = "*"
 networkx = "*"
 network2tikz = {editable = true,path = "/home/mark/Projekte/network2tikz"}
 requests = "*"
-rtree = "*"
 
 [requires]
 python_version = "3.7"
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..61572d1
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,34 @@
+"""A setuptools based setup module.
+See:
+https://packaging.python.org/guides/distributing-packages-using-setuptools/
+https://github.com/pypa/sampleproject
+"""
+
+# Always prefer setuptools over distutils
+from setuptools import setup, find_packages
+from os import path
+
+here = path.abspath(path.dirname(__file__))
+
+# Get the long description from the README file
+with open(path.join(here, 'README.md'), encoding='utf-8') as f:
+    long_description = f.read()
+
+setup(
+    name='evroutingtools',
+    version='0.0.1',
+    long_description=long_description,
+    long_description_content_type='text/markdown',
+    url='https://git.imp.fu-berlin.de/markn92/ba',
+    author='Mark Niehues',
+    classifiers=[
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
+    ],
+    packages=['evrouting'],
+    python_requires='>=3.4.*, <4',
+    install_requires=[
+        'networkx',
+        'requests'
+    ]
+)
-- 
GitLab