Commit b3116f8f authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers 🍪

restructure repo to fit python guidelines

parent 2dfc24fa
__pycache__/
build/
dist/
*.egg-info
#!/usr/bin/env python3
##
# Based on the setuptools example
##
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(name='j2static',
version='0.1',
description='static templating engine',
long_description=long_description,
author='FOSS Galaxy',
author_email='software@fossgalaxy.com',
url='https://www.fossgalaxy.com',
install_requires=[
'jinja2',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3'
],
packages=['j2static',],
package_dir={'j2static': 'src/j2static'},
entry_points={
'console_scripts': [
'j2static=j2static:main',
],
},
)
import j2static.main
j2static.main.main()
......@@ -12,3 +12,6 @@ env = Environment(
def render(name):
template = env.get_template(name)
return template.render()
def main():
print("test")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment