Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Commit

Permalink
use setuptools instead of dist utils like a modern python library (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: jamesw-minted <jamesw@minted.com>
  • Loading branch information
jamesw-minted and jamesw-minted authored Jan 25, 2021
1 parent 80bb9cd commit ead1377
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
/doc
*.pyc
/html
/build
/build
/dist
*.egg-info/
16 changes: 9 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#!/usr/bin/python
# -*- coding: koi8-r -*-
from distutils.core import setup,sys
import os

if sys.version < '2.2.3':
from distutils.dist import DistributionMetadata
DistributionMetadata.classifiers = None
DistributionMetadata.download_url = None
from setuptools import setup
# from distutils.core import setup,sys
# import os

# if sys.version < '2.2.3':
# from distutils.dist import DistributionMetadata
# DistributionMetadata.classifiers = None
# DistributionMetadata.download_url = None

# Set proper release version in source code also!!!
setup(name='xmpppy',
version='0.5.2.2',
version='0.5.2.3',
author='Cyril Peponnet',
author_email='cyril@peponnet.fr',
url='https://github.com/ArchipelProject/xmpppy',
Expand Down

0 comments on commit ead1377

Please sign in to comment.