Skip to content

Commit 5618ff3

Browse files
create setup.py
1 parent 8bc70dc commit 5618ff3

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

index_generator/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
APP_NAME = 'Index Generator'
22
APP_VERSION = '0.0.1'
33
APP_URL = 'https://github.com/BruceZhang1993/index-generator'
4+
PACKAGE_NAME = 'index-generator'

setup.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
from setuptools import setup
2+
from index_generator import APP_NAME, APP_URL, APP_VERSION, PACKAGE_NAME
3+
4+
setup(
5+
name=PACKAGE_NAME,
6+
version=APP_VERSION,
7+
packages=['index_generator'],
8+
url='https://github.com/BruceZhang1993',
9+
license='MIT',
10+
author='Bruce Zhang, Edward P',
11+
author_email='',
12+
description='Yet another index generator.',
13+
install_requires=['Jinja2'],
14+
entry_points={
15+
'console_scripts': [
16+
'index-generator=index_generator.__main__:main'
17+
]
18+
}
19+
)

0 commit comments

Comments
 (0)