-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
46 lines (40 loc) · 1.46 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
import os, sys
try:
from setuptools import setup
from setuptools.command.install import install as _install
except ImportError:
from distutils.core import setup
from distutils.command.install import install as _install
def _post_install(install_lib):
import shutil
shutil.copy('pytwister.pth', install_lib)
class install(_install):
def run(self):
self.path_file = 'pytwister'
_install.run(self)
self.execute(_post_install, (self.install_lib,),
msg="Running post install task")
version = "0.1"
setup(
cmdclass={'install': install},
name="pytwister",
version=version,
download_url='',
packages = ["pytwister", "pytwister.codec"],
author='Otto Fajardo',
author_email='[email protected]',
url="http://github.com/ofajardo/pytwister",
license='MIT',
description="Python with a twist of R syntax.",
long_description="Python with a twist of R syntax. Visit our webpage for more information: https://github.com/ofajardo/pytwister",
keywords='python string interpolation interpolate ruby codec',
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)