Browse Source

Fix to copy of README.md for python publish.

master
Trevor Irons 1 year ago
parent
commit
d1d6ff7c4f
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      CMakeLists.txt
  2. 1
    1
      python/setup.py

+ 1
- 0
CMakeLists.txt View File

@@ -284,6 +284,7 @@ if (LEMMA_PYTHON3_BINDINGS)
284 284
     install ( FILES python/setup.py DESTINATION ${CMAKE_INSTALL_PREFIX}/pyLemma/ ) 
285 285
     install ( FILES python/long.md DESTINATION ${CMAKE_INSTALL_PREFIX}/pyLemma/ ) 
286 286
     install ( FILES python/publish.sh DESTINATION ${CMAKE_INSTALL_PREFIX}/pyLemma/ ) 
287
+    install ( FILES README.md DESTINATION ${CMAKE_INSTALL_PREFIX}/pyLemma/ ) 
287 288
     install ( DIRECTORY python/pyLemma DESTINATION ${CMAKE_INSTALL_PREFIX}/pyLemma/ ) 
288 289
 endif()
289 290
 

+ 1
- 1
python/setup.py View File

@@ -19,7 +19,7 @@ class InstallPlatlib(install):
19 19
         if self.distribution.has_ext_modules():
20 20
             self.install_lib = self.install_platlib
21 21
 
22
-with open("../README.md", "r") as fh:
22
+with open("README.md", "r") as fh:
23 23
     long_description = fh.read()
24 24
 
25 25
 setup(

Loading…
Cancel
Save