-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
35 lines (29 loc) · 940 Bytes
/
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
import os
import sys
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
VERSION = '1.1.0'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel upload')
print "You should also consider tagging a release:"
print " git tag -a %s -m 'version %s'" % (VERSION, VERSION)
print " git push --tags"
sys.exit()
setup(
name='unicode_mayo',
version=VERSION,
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
long_description=README,
description='The mayo on your unicode sandwich',
url='https://github.com/eyalr/unicode_mayo',
license='MIT',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=True,
)