Skip to content

Commit bee27fd

Browse files
committed
has generated dist items from updated setup.py
1 parent 8262265 commit bee27fd

6 files changed

Lines changed: 7 additions & 12 deletions

File tree

PKG-INFO

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,6 @@ Classifier: Programming Language :: Python
8484
Classifier: Programming Language :: Python :: 3.5
8585
Classifier: Programming Language :: Python :: 3.6
8686
Classifier: Programming Language :: Python :: 3.7
87+
Classifier: Programming Language :: Python :: 3.8
8788
Classifier: Topic :: Internet :: WWW/HTTP
8889
Classifier: Topic :: Software Development :: Libraries
3 Bytes
Binary file not shown.

dist/pyral-1.5.0.tar.gz

34 Bytes
Binary file not shown.

dists/pyral-1.5.0.tar.gz

34 Bytes
Binary file not shown.

dists/pyral-1.5.0.zip

49 Bytes
Binary file not shown.

setup.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
#try:
5-
# from distutils2.core import setup
6-
#except:
7-
# try:
8-
# from distutils.core import setup
9-
# except:
10-
# from setuptools import setup
11-
124
from setuptools import setup
135

146
PACKAGE = 'pyral'
@@ -24,9 +16,10 @@
2416
DOWNLOADABLE_ZIP = '%s/%s-%s.zip' % (GITHUB_DISTS, PACKAGE, VERSION)
2517
SHORT_DESCRIPTION = 'README.short'
2618
FULL_DESCRIPTION = 'README.rst'
27-
LONG_DESCRIPTION = ""
28-
with open(FULL_DESCRIPTION, 'r') as d:
29-
LONG_DESCRIPTION = d.read()
19+
20+
from os import path
21+
desc_file = path.join(path.abspath(path.dirname(__file__)), FULL_DESCRIPTION)
22+
with open(desc_file, encoding='utf-8') as df: long_description = df.read()
3023

3124
MINIMUM_REQUESTS_VERSION = '2.12.5' # although 2.22.x is recommended
3225
REQUIRES = ['six',
@@ -43,6 +36,7 @@
4336
'Programming Language :: Python :: 3.5',
4437
'Programming Language :: Python :: 3.6',
4538
'Programming Language :: Python :: 3.7',
39+
'Programming Language :: Python :: 3.8',
4640
'Topic :: Internet :: WWW/HTTP',
4741
'Topic :: Software Development :: Libraries',
4842
]
@@ -56,7 +50,7 @@
5650
author_email=AUTHOR_EMAIL,
5751
url=GITHUB_SITE,
5852
download_url=DOWNLOADABLE_ZIP,
59-
long_description=LONG_DESCRIPTION,
53+
long_description=long_description,
6054
long_description_type='text/x-rst',
6155
license=LICENSE,
6256
keywords=KEYWORDS,

0 commit comments

Comments
 (0)