-
Notifications
You must be signed in to change notification settings - Fork 42
/
setup.py
34 lines (30 loc) · 1.13 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
#!/usr/bin/env python
try:
from setuptools import setup, Command
except ImportError:
from distutils.core import Command,setup
import gmail
long_description = gmail.description
version = gmail.version
class GenerateReadme(Command):
description = "Generates README file from long_description"
user_options = []
def initialize_options(self): pass
def finalize_options(self): pass
def run(self):
open("README","w").write(long_description)
setup(name='gmail',
version = version,
description = 'Simple library to send email using GMail (includes background worker and logging classes) [Python 2/3 support]',
long_description = long_description,
author = 'Paul Chakravarti',
author_email = 'paul.chakravarti@gmail.com',
url = 'https://github.com/paulchakravarti/gmail-sender',
cmdclass = { 'readme' : GenerateReadme },
packages = ['gmail'],
license = 'BSD',
classifiers = [ "Topic :: Communications :: Email",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
],
)