File tree 4 files changed +9
-17
lines changed
4 files changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ matrix:
13
13
env : TOXENV=lint
14
14
- python : " 3.5"
15
15
env : TOXENV=packagecheck
16
- addons :
17
- apt_packages : pandoc
18
16
19
17
- python : " 3.6"
20
18
env : TOXENV=py36-django21
Original file line number Diff line number Diff line change 1
1
docutils
2
2
Pygments>=2.2.0
3
- pypandoc
4
- twine
5
- wheel
3
+ twine>=1.11.0
4
+ wheel>=0.31.0
6
5
readme_renderer[md]
Original file line number Diff line number Diff line change @@ -4,7 +4,13 @@ author = Andrzej Pragacz
4
4
author-email = apragacz@o2.pl
5
5
description = User registration REST API, based on django-rest-framework
6
6
description-file = README.md
7
+ long-description = file:README.md
8
+ long-description-content-type = text/markdown; charset=UTF-8
7
9
url = https://github.com/apragacz/django-rest-registration
10
+ project-urls =
11
+ Bug Tracker = https://github.com/apragacz/django-rest-registration/issues
12
+ Documentation = https://django-rest-registration.readthedocs.io/
13
+ Source Code = https://github.com/apragacz/django-rest-registration
8
14
keywords =
9
15
django
10
16
rest
@@ -20,6 +26,7 @@ keywords =
20
26
sign-up
21
27
sign-in
22
28
license = MIT
29
+ license-file = LICENSE
23
30
classifiers =
24
31
Development Status :: 4 - Beta
25
32
Environment :: Web Environment
Original file line number Diff line number Diff line change @@ -36,17 +36,6 @@ def get_version(package):
36
36
return re .search ("__version__ = ['\" ]([^'\" ]+)['\" ]" , init_py ).group (1 )
37
37
38
38
39
- def get_long_description (markdown_filepath ):
40
- '''
41
- Return the long description in RST format, when possible.
42
- '''
43
- try :
44
- import pypandoc
45
- return pypandoc .convert (markdown_filepath , 'rst' )
46
- except ImportError :
47
- return read_contents (markdown_filepath )
48
-
49
-
50
39
def get_cmdclass ():
51
40
cmdclass = {}
52
41
try :
@@ -61,7 +50,6 @@ def get_cmdclass():
61
50
setup (
62
51
version = get_version ('rest_registration' ),
63
52
packages = find_packages (exclude = ['tests.*' , 'tests' ]),
64
- long_description = get_long_description ('README.md' ),
65
53
install_requires = get_requirements ('requirements/requirements-base.txt' ),
66
54
cmdclass = get_cmdclass (),
67
55
command_options = {
You can’t perform that action at this time.
0 commit comments