Commits

Yohan Boniface  committed ffbe1bc

Fix for pypi upload

  • Participants
  • Parent commits cccbb51

Comments (0)

Files changed (3)

 *.pdg
 *.orig
 *~
-doc/_build/*
+doc/_build/*
+dist/
+*.egg-info
 include README.rst
+include requirements.pip
 recursive-include leaflet_storage/static *
 recursive-include leaflet_storage/templates *
 
 long_description = codecs.open('README.rst', "r", "utf-8").read()
 
+with open('requirements.pip') as reqs:
+    install_requires = [
+        line for line in reqs.read().split('\n') if (line and not
+                                                     line.startswith(('--', 'git')))
+    ]
+
 setup(
-    name="leaflet_storage",
+    name="django-leaflet-storage",
     version=leaflet_storage.__version__,
     author=leaflet_storage.__author__,
     author_email=leaflet_storage.__contact__,
     include_package_data=True,
     platforms=["any"],
     zip_safe=True,
-    install_requires=["vectorformats", ],
+    install_requires=install_requires,
     long_description=long_description,
 
     classifiers=[
         "Development Status :: 3 - Alpha",
-        #"Environment :: Web Environment",
+        "Environment :: Web Environment",
         "Intended Audience :: Developers",
         #"License :: OSI Approved :: MIT License",
         "Operating System :: OS Independent",