Przeglądaj źródła

[Fix] Fix setup error about .version (#121)

Yizhou Chen 2 lat temu
rodzic
commit
fb7170a3a9
2 zmienionych plików z 2 dodań i 0 usunięć
  1. 1 0
      MANIFEST.in
  2. 1 0
      setup.py

+ 1 - 0
MANIFEST.in

@@ -0,0 +1 @@
+include paddlers/.version

+ 1 - 0
setup.py

@@ -39,6 +39,7 @@ if __name__ == '__main__':
         setuptools.find_namespace_packages(include=['paddlers', 'paddlers.*']),
         python_requires='>=3.7',
         setup_requires=['cython', 'numpy'],
+        include_package_data=True,
         install_requires=REQUIRED_PACKAGES,
         classifiers=[
             "Programming Language :: Python :: 3.7",