This repository was archived by the owner on Mar 4, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,5 @@ pipeline:
1616 test :
1717 image : python:${PYTHON_VERSION}
1818 commands :
19- - apt update -y && apt install -y pandoc
20- - pip install pypandoc tox
19+ - pip install tox
2120 - tox -e py$(echo ${PYTHON_VERSION} | sed 's|\.||')
Original file line number Diff line number Diff line change 1- addons :
2- apt :
3- packages :
4- - pandoc
51language : python
62python :
73 - " 2.7"
106 - " 3.6"
117sudo : false
128
13- install : pip install pypandoc tox
9+ install : pip install tox
1410script : tox -e py$(echo "$TRAVIS_PYTHON_VERSION" | sed 's|\.||')
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
77## Unreleased
88### Removed
99- Support for python3.3
10+ ### Changed
11+ - setup.py no longer converts markdown to reST because pypi now supports markdown, woop.
1012
1113## [ 1.37.1] - 2018-01-08
1214### Fixed
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3- import pypandoc
4-
53# Notes for the not-an-everyday-python-dev for package distribution on pypi
64#
75# Build the package using `setuptools`:
4341 use_setuptools ()
4442 from setuptools import setup
4543
46- readme = pypandoc .convert_file ('README.md' , 'rst' )
47- changelog = pypandoc .convert_file ('CHANGELOG.md' , 'rst' )
48- long_description = readme + '\n ' + changelog
44+ with open ('README.md' ) as readme , open ('CHANGELOG.md' ) as changelog :
45+ long_description = readme .read () + '\n ' + changelog .read ()
4946
5047setup (
5148 name = 'packet-python' ,
5249 version = '1.37.1' ,
5350 description = 'Packet API client' ,
5451 long_description = long_description ,
52+ long_description_content_type = 'text/markdown' ,
5553 url = 'https://github.com/packethost/packet-python' ,
5654 author = 'Packet Developers' ,
5755 license = 'LGPL v3' ,
5856 keywords = 'packet api client' ,
5957 packages = ['packet' ],
6058 install_requires = 'requests' ,
61- setup_requires = 'pypandoc' ,
6259 classifiers = [
6360 'Development Status :: 5 - Production/Stable' ,
6461 'Intended Audience :: Developers' ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ skip_missing_interpreters=True
44
55[testenv]
66deps =
7- pypandoc
87 pytest
98 pytest-cov
109 requests_mock
You can’t perform that action at this time.
0 commit comments