浏览代码

Fix to copy of README.md for python publish.

master
Trevor Irons 4 年前
父节点
当前提交
d1d6ff7c4f
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1
    0
      CMakeLists.txt
  2. 1
    1
      python/setup.py

+ 1
- 0
CMakeLists.txt 查看文件

@@ -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 查看文件

@@ -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(

正在加载...
取消
保存