Skip to content

Commit 74375ec

Browse files
authored
Update package metadata for PyPi (#491)
1 parent 255cf5d commit 74375ec

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ but this library is compatible only with Python 3.
250250
.. _package repository: pypi_
251251
.. _pypi: https://pypi.python.org/pypi
252252
.. _latest version of this package: pypi-python-ev3dev_
253-
.. _pypi-python-ev3dev: https://pypi.python.org/pypi/python-ev3dev
253+
.. _pypi-python-ev3dev: https://pypi.python.org/pypi/python-ev3dev2
254254
.. _ev3dev Visual Studio Code extension: https://github.com/ev3dev/vscode-ev3dev-browser
255255
.. _Python + VSCode introduction tutorial: https://github.com/ev3dev/vscode-hello-python
256256
.. _nano: http://www.ev3dev.org/docs/tutorials/nano-cheat-sheet/

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[sdist_dsc]
2-
package: python-ev3dev
2+
package: python-ev3dev2

setup.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
from setuptools import setup
22
from git_version import git_version
3+
from os import path
34

5+
this_directory = path.abspath(path.dirname(__file__))
6+
with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
7+
long_description = f.read()
48

59
setup(
610
name='python-ev3dev2',
@@ -11,6 +15,8 @@
1115
license='MIT',
1216
url='https://github.com/ev3dev/ev3dev-lang-python',
1317
include_package_data=True,
18+
long_description=long_description,
19+
long_description_content_type='text/x-rst',
1420
packages=['ev3dev2',
1521
'ev3dev2.fonts',
1622
'ev3dev2.sensor',

0 commit comments

Comments
 (0)