forked from pool/python-ipaddr
25 lines
728 B
Diff
25 lines
728 B
Diff
|
--- a/setup.py 2014-01-31
|
||
|
+++ b/setup.py 2017-08-31
|
||
|
@@ -14,17 +14,17 @@
|
||
|
# See the License for the specific language governing permissions and
|
||
|
# limitations under the License.
|
||
|
|
||
|
-from distutils.core import setup
|
||
|
-
|
||
|
-import ipaddr
|
||
|
+from setuptools import setup
|
||
|
+from pkginfo import UnpackedSDist
|
||
|
|
||
|
|
||
|
setup(name='ipaddr',
|
||
|
maintainer='Google',
|
||
|
maintainer_email='ipaddr-py-dev@googlegroups.com',
|
||
|
- version=ipaddr.__version__,
|
||
|
url='http://code.google.com/p/ipaddr-py/',
|
||
|
license='Apache License, Version 2.0',
|
||
|
+ version=UnpackedSDist('.').version,
|
||
|
+ use_2to3=True,
|
||
|
classifiers=[
|
||
|
'Development Status :: 5 - Production/Stable',
|
||
|
'Intended Audience :: Developers',
|