Queer European MD passionate about IT
Bläddra i källkod

ImportErrors fixed, more information added, typo fixed.

Davte 6 år sedan
förälder
incheckning
11b98ba8fc
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. 6 6
      setup.py

+ 6 - 6
setup.py

@@ -1,5 +1,7 @@
 import codecs
 import os
+import re
+import setuptools
 import sys
 
 if sys.version_info < (3,5):
@@ -24,22 +26,20 @@ def find_information(info, *file_paths):
         return version_match.group(1)
     raise RuntimeError("Unable to find version string.")
 
-def setup(**kwargs):
-    for key, val in kwargs.items():
-        print(key, val, sep='\t\t')
-
 with open("README.md", "r") as readme_file:
     long_description = readme_file.read()
 
-setup(
+setuptools.setup(
     name='datelepot',
     version=find_information("version", "datelepot", "__init__.py"),
-    author=find_information("version", "datelepot", "__init__.py"),
+    author=find_information("author", "datelepot", "__init__.py"),
     description="telepot.aio.Bot convenient subclass, featuring dataset-powered SQLite.",
+    license=find_information("license", "datelepot", "__init__.py"),
     long_description=long_description,
     long_description_content_type="text/markdown",
     url="https://bitbucket.org/davte/datelepot",
     packages=setuptools.find_packages(),
+    platforms=['any'],
     classifiers=[
         "Development Status :: 3 - Alpha",
         "Framework :: AsyncIO",