-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
37 lines (33 loc) · 963 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
36
37
import scriptine
import os
name = "scriptine"
version = scriptine.__version__
class zipdist(scriptine.misc.DistutilsCommand):
def run(self):
from scriptine.meta import zipdist_command
zipdist_command()
options = scriptine.misc.Options(
name = name,
version = version,
author = "Oliver Tonnhofer",
author_email = "[email protected]",
description = 'python shell scripts made easy',
long_description=open('README.rst').read() +'\n' + open('CHANGELOG.txt').read(),
license = 'MIT License',
url = 'https://github.com/olt/scriptine',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages = ['scriptine'],
zip_safe = False,
cmdclass = {
'zipdist': zipdist,
}
)
if __name__ == '__main__':
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(**options)