|
5 | 5 | from setuptools import find_packages, setup, Extension |
6 | 6 | from setuptools.command.build_ext import build_ext |
7 | 7 |
|
| 8 | +this_directory = os.path.abspath(os.path.dirname(__file__)) |
| 9 | +with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f: |
| 10 | + long_description = f.read() |
8 | 11 |
|
9 | 12 | class cython_build_ext(build_ext): |
10 | 13 | user_options = build_ext.user_options + [ |
@@ -83,15 +86,21 @@ def run(self): |
83 | 86 | "Topic :: Text Processing :: Linguistic", |
84 | 87 | ], |
85 | 88 | cmdclass={'build_ext': cython_build_ext}, |
86 | | - description="Interface to finalfusion embeddings", |
| 89 | + description="Finalfusion in Python", |
87 | 90 | ext_modules=extensions, |
88 | 91 | install_requires=install_requires, |
| 92 | + keywords='embeddings word2vec finalfusion finalfrontier fasttext glove', |
89 | 93 | license='BlueOak-1.0.0', |
| 94 | + long_description=long_description, |
| 95 | + long_description_content_type='text/markdown', |
90 | 96 | packages=find_packages('src'), |
91 | 97 | include_package_data=True, |
92 | 98 | package_dir={'': 'src'}, |
93 | 99 | package_data={'finalfusion': ['py.typed', '*.pyi', '*.h', '*.c']}, |
94 | | - url="https://github.com/finalfusion/ffp", |
| 100 | + url="https://github.com/finalfusion/finalfusion-python", |
| 101 | + project_urls={ |
| 102 | + "Finalfusion": "https://finalfusion.github.io", |
| 103 | + }, |
95 | 104 | entry_points=dict(console_scripts=['ffp-convert=finalfusion.scripts.convert:main']), |
96 | 105 | version="0.7.0-pre" |
97 | 106 | ) |
0 commit comments