Skip to content

Commit b3466ee

Browse files
author
new
committed
Merge pull request #2 from atksh/dev
update setup.py
2 parents b8f26cb + 6250e77 commit b3466ee

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/cmake-build-*/
2+
/docker/
23
/build/
34
/dist/
45
/_build/

setup.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
from setuptools.command.build_ext import build_ext
1111
from distutils.version import LooseVersion
1212

13-
sys.path.append('./python_PRTree')
1413
sys.path.append('./test')
1514

15+
here = os.path.abspath(os.path.dirname(__file__))
16+
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
17+
long_description = f.read()
1618

1719
def _requires_from_file(filename):
1820
return open(filename).read().splitlines()
@@ -80,7 +82,7 @@ def build_extension(self, ext):
8082
name='python_prtree',
8183
version='0.1',
8284
license='MIT',
83-
description='',
85+
description='Python implementation of Priority R-Tree',
8486
author='atksh',
8587
url='https://github.com/atksh/python_prtree',
8688
ext_modules=[CMakeExtension('python_prtree.PRTree')],
@@ -90,4 +92,11 @@ def build_extension(self, ext):
9092
package_dir={"": "src"},
9193
packages=find_packages('src'),
9294
test_suite='test_PRTree.suite',
95+
long_description=long_description,
96+
long_description_content_type='text/markdown',
97+
keywords='priority rtree prtree',
98+
classifiers=[
99+
'License :: OSI Approved :: MIT License',
100+
'Programming Language :: Python :: 3.7',
101+
]
93102
)

0 commit comments

Comments
 (0)