From 2c54836e92c538b6f1f1cff56553a4662254fb17 Mon Sep 17 00:00:00 2001 From: Micah Cochran Date: Sat, 12 Sep 2015 17:22:16 -0500 Subject: [PATCH] Updated setup.py to install on Linux I fixed line in order to allow installation via pip to my linux box. I change "\\" to "/". Setuptools documentation states: "Also notice that if you use paths, you must use a forward slash (/) as the path separator, even if you are on Windows. Setuptools automatically converts slashes to appropriate platform-specific separators at build time." Source: http://pythonhosted.org/setuptools/setuptools.html#including-data-files --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 095976f..0373af3 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( long_description=open("README.rst").read(), url="""http://github.com/karimbahgat/PyCRS""", version="""0.1.2""", keywords="""GIS spatial CRS coordinates format""", - packages=['pycrs', 'pycrs\\elements'], + packages=['pycrs', 'pycrs/elements'], classifiers=['License :: OSI Approved', 'Programming Language :: Python', 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Intended Audience :: End Users/Desktop', 'Topic :: Scientific/Engineering :: GIS'], description="""GIS package for reading, writing, and converting between CRS formats.""", )