mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
- Add USE_PYTHON=nose Relnotes: https://github.com/python-twitter-tools/twitter/releases/tag/twitter-1.19.6
27 lines
898 B
Python
27 lines
898 B
Python
# Fix UnicodeDecodeError: 'ascii' codec can't decode error
|
|
|
|
--- setup.py.orig 2022-09-14 13:30:41 UTC
|
|
+++ setup.py
|
|
@@ -3,12 +3,8 @@ with open("README") as f:
|
|
with open("README") as f:
|
|
long_description = f.read()
|
|
|
|
+version = '1.19.6'
|
|
|
|
-def local_scheme(version):
|
|
- """Skip the local version (eg. +xyz of 0.6.1.dev4+gdf99fe2)
|
|
- to be able to upload to Test PyPI"""
|
|
- return ""
|
|
-
|
|
setup(name='twitter',
|
|
description="An API and command-line toolset for Twitter (twitter.com)",
|
|
long_description=long_description,
|
|
@@ -45,8 +41,6 @@ setup(name='twitter',
|
|
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
|
|
include_package_data=True,
|
|
zip_safe=True,
|
|
- use_scm_version={"local_scheme": local_scheme},
|
|
- setup_requires=["setuptools_scm"],
|
|
install_requires=["certifi"],
|
|
entry_points="""
|
|
# -*- Entry points: -*-
|