Skip to content

Commit a06ed6a

Browse files
committed
add setup.py and bump to 0.3.0
Signed-off-by: Paul Spooren <mail@aparcar.org>
1 parent 9e5d6e5 commit a06ed6a

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
!\.gitignore
22
\.*
3+
asu.egg-info/
34
asu/__pycache__/
45
bin/
56
cache/
7+
dist/
68
lib/
79
lib64
810
pyvenv.cfg

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Flask-Cors==3.0.8
55
itsdangerous==1.1.0
66
Jinja2==2.11.1
77
MarkupSafe==1.1.1
8-
pkg-resources==0.0.0
98
pycparser==2.19
109
PyNaCl==1.3.0
1110
redis==3.4.1

setup.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import io
2+
3+
from setuptools import find_packages, setup
4+
from os.path import dirname, abspath, join
5+
6+
7+
with io.open("README.md", "rt", encoding="utf8") as f:
8+
readme = f.read()
9+
10+
base_path = dirname(abspath(__file__))
11+
12+
with open(join(base_path, "requirements.txt")) as req_file:
13+
requirements = req_file.readlines()
14+
15+
setup(
16+
name="asu",
17+
version="0.3.0",
18+
url="https://github.com/aparcar/asu",
19+
maintainer="Paul Spooren",
20+
maintainer_email="mail@aparcar.org",
21+
description="Create images for OpenWrt on demand",
22+
long_description=readme,
23+
long_description_content_type="text/markdown",
24+
packages=find_packages(),
25+
include_package_data=True,
26+
install_requires=requirements,
27+
zip_safe=False,
28+
)

0 commit comments

Comments
 (0)