Skip to content

Commit ddea73c

Browse files
committed
pip package setup
1 parent 96c0809 commit ddea73c

File tree

8 files changed

+62
-58
lines changed

8 files changed

+62
-58
lines changed

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 mgp25
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description-file = README.md

setup.py

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import setuptools
2+
import os
3+
4+
5+
__version__ = "0.0.1"
6+
__author__ = "Nyaundi Brian"
7+
8+
9+
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
10+
README = readme.read()
11+
12+
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
13+
14+
setuptools.setup(
15+
name='convert2php',
16+
packages=setuptools.find_packages(),
17+
version=__version__,
18+
description='A python script to convert simple php code to python',
19+
author='Nyaundi Brian',
20+
author_email='ndieksman@gmail.com',
21+
url='https://github.com/danleyb2/php2python',
22+
download_url='https://github.com/danleyb2/php2python/tarball/0.0.1',
23+
keywords=['php', 'python', 'convert'],
24+
include_package_data=True,
25+
zip_safe=False,
26+
license='MIT',
27+
long_description=README,
28+
platforms='any',
29+
install_requires=[],
30+
classifiers=[
31+
#'Development Status :: 1 - Alpha',
32+
'Environment :: Console',
33+
'Intended Audience :: Developers',
34+
'License :: OSI Approved :: MIT License',
35+
'Operating System :: OS Independent',
36+
'Programming Language :: Python',
37+
'Programming Language :: Python :: 2.7',
38+
],
39+
)

src/__init__.py

Whitespace-only changes.
File renamed without changes.

src/test_scripts/__init__.py

Whitespace-only changes.

test_scripts/Caption.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)