1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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: -*-
|