-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·47 lines (42 loc) · 1.34 KB
/
setup.py
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python3
"""
Release notes:
* Bump version in syncset/__init__.py
* Commit and push changes
* Build package: rm dist/* && python setup.py sdist bdist_wheel
* Push to PyPI: twine upload dist/*
* Create release on GitHub
"""
import io
import os
from setuptools import setup
__version__ = None
with io.open(os.path.join(os.path.dirname(__file__), 'syncset/__init__.py'), encoding='utf-8') as f:
for l in f:
if not l.startswith('__version__'):
continue
__version__ = l.split('=')[1].strip(' "\'\n')
break
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='syncset',
version=__version__,
author='Erik Cederstrand',
author_email='[email protected]',
license='BSD',
description='Extension of Python set() which is able to synchronize sets of comparable objects',
long_description=read('README.rst'),
keywords='set dict sync synchronize synchronization',
packages=['syncset'],
test_suite='tests',
zip_safe=False,
url='https://github.com/ecederstrand/py-syncset',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
],
)