Skip to content

Commit

Permalink
add setup.py and bump to 0.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar committed Feb 25, 2020
1 parent 9e5d6e5 commit a06ed6a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
!\.gitignore
\.*
asu.egg-info/
asu/__pycache__/
bin/
cache/
dist/
lib/
lib64
pyvenv.cfg
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Flask-Cors==3.0.8
itsdangerous==1.1.0
Jinja2==2.11.1
MarkupSafe==1.1.1
pkg-resources==0.0.0
pycparser==2.19
PyNaCl==1.3.0
redis==3.4.1
Expand Down
28 changes: 28 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import io

from setuptools import find_packages, setup
from os.path import dirname, abspath, join


with io.open("README.md", "rt", encoding="utf8") as f:
readme = f.read()

base_path = dirname(abspath(__file__))

with open(join(base_path, "requirements.txt")) as req_file:
requirements = req_file.readlines()

setup(
name="asu",
version="0.3.0",
url="https://github.com/aparcar/asu",
maintainer="Paul Spooren",
maintainer_email="[email protected]",
description="Create images for OpenWrt on demand",
long_description=readme,
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
zip_safe=False,
)

0 comments on commit a06ed6a

Please sign in to comment.